Use Consul to store environment variables for kubernetes containers

6/19/2018

I would like to use consul (or would you recommend another technology?) to store environment variables that are used in a kubernetes pod/container. I have a software which uses those environment variables to setup its application state.

I heard that I could use consul for that, but I have to use something like consul because of business reasons and the pipeline for setting and distributing that configuration to other systems.

-- Christopher Thomas
configmap
consul
kubernetes

1 Answer

8/14/2018

Give a try in envconsul

Install it in your pods to transform configs from consul to enviroment variables

-- Wagner Silveira
Source: StackOverflow