ConfigMap Theory
Learn how to use ConfigMaps to store and inject configuration data into Kubernetes Pods.
We'll cover the following...
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:
They’re stable (
v1
).They’ve been around for a while (new stuff never goes in the core API group).
We can define and deploy them in YAML files.
We can manage them with
kubectl
.
We’ll typically ...