← All notes

Kubernetes ConfigMaps

Short answer

A ConfigMap stores non-confidential configuration as key-value pairs so you can keep settings out of container images. Pods use it as environment variables, command arguments or mounted files.

kubectl create configmap app-config --from-literal=LOG_LEVEL=info

Key points

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes Authors, ConfigMaps, CC BY 4.0 (kubernetes/website); Kubernetes Authors, Configure a Pod to Use a ConfigMap, CC BY 4.0 (kubernetes/website).

Cite this

Permanent ID: iil:note:ycdqyx8a

iinventedlight. 2026. "Kubernetes ConfigMaps." iinventedlight Library, iil:note:ycdqyx8a, version of 2026-11-04. https://iinventedlight.com/library/notes/kubernetes-configmaps/. License: CC-BY-4.0.

@misc{iil_note_ycdqyx8a,
  author = {{iinventedlight}},
  title = {{Kubernetes ConfigMaps}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-04},
  url = {https://iinventedlight.com/library/notes/kubernetes-configmaps/},
  note = {Permanent ID iil:note:ycdqyx8a. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/kubernetes-configmaps.md.