...

/

ConfigMap Theory

ConfigMap Theory

Learn how to use ConfigMaps to store and inject configuration data into Kubernetes Pods.

Kubernetes has an API resource called a ConfigMap (CM) that lets us store configuration data outside of Pods and inject it at runtime.

ConfigMaps are first-class objects in the core API group. They’re also v1. This tells us a few things:

  1. They’re stable (v1).

  2. They’ve been around for a while (new stuff never goes in the core API group).

  3. We can define and deploy them in YAML files.

  4. We can manage them with kubectl.

We’ll typically ...

Ask