...

/

Extracting Configs to a ConfigMap

Extracting Configs to a ConfigMap

Learn how we can use `ConfigMaps` in our applications.

ConfigMap

If we want to run this same application in multiple different environments, like staging and production, we would need to have two copies of this manifest just to change the value of these environment variables. This is one of the problems with embedding these environment variables in the manifest.

Luckily, Kubernetes has a high level resource called ConfigMap that serves this purpose. It’s basically a place for us to store key-value pairs that can be ...

Access this course and 1400+ top-rated courses and projects.