Skip to the content.

Kubernetes - ConfigMaps πŸ—ΊοΈ

Description πŸ‘€

ConfigMap is a Kubernetes object that provides a way to store configuration data in key-value pairs. They allow you to decouple configuration artifacts from your container images, which enables you to modify the configuration data without rebuilding and repdeploying your containers. Just like everything else in Kubernetes there are two ways to create a ConfigMap. You can either use the kubectl command or you can use a ConfigMap definition.

To tie a ConfigMap to a Pod you can use the envFrom or env section of the Pod definition.


Basic Commands πŸ“


Examples 🧩


↩️