4 ms·
Kubernetes assists with this aspect of passing environment variables to immutable containers. There you add the variables to the deployment code or edit them li
by alchemism 7y ago
Kubernetes assists with this aspect of passing environment variables to immutable containers. There you add the variables to the deployment code or edit them live on active deployments.
You can take it one step further and define a single ConfigMap resource per environment, containing all of the required variables across your application, and then have all the various containers reference it ‘blindly’ when they are deployed. Said configuration resource would exist in version control but deploy independently from the functional codebase(s).