Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 4 · App Lifecycle · Port 4.5

ConfigMaps

Ask the Captain
Instagram
Stop hard-coding settings in 10 YAML files.
You'll learn to

create a ConfigMap and inject it (envFrom, volume)

Recap

  1. 1valueFrom = one key · envFrom = all keys
  2. 2A volume turns keys into files
  3. 3Edit it? Env vars need a pod restart
Check yourself

You edit a ConfigMap that a running pod reads with envFrom. What does the pod see?

4.5

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.