How to make Kubernetes run Docker Containers with specified environment variables automatic?

12/13/2018

According to https://docs.docker.com/network/proxy/#configure-the-docker-client I can run docker containers behind proxy automatic.There are some config in kubernets can run containers with specified environment variables automatic?

I've seen this answer before:https://stackoverflow.com/a/52193418/9985681, looks like kubernetes using SDK to schedule container,but I don't know much about it.

-- ode
docker
kubernetes
proxy

1 Answer

2/11/2019

you can use the configmap in kubernetes which store the variables in kubernetes and also store the config. you can use it as like saving purpose.

that sdk is kubernetes api sdk.

-- Harsh Manvar
Source: StackOverflow