ConfigMap Usage Methods

ConfigMap Usage Methods An architecture diagram generated by Archify. key1: value1 · Simple key-value · ConfigMap Data key1: value1 Simple key-value key2: value2 · Simple key-value · ConfigMap Data key2: value2 Simple key-value config.properties · File contents · ConfigMap Data config.properties File contents ConfigMap · my-config · Architecture component ConfigMap my-config Pod · Environment variables · Architecture component Pod Environment variables Pod · Volume mount · Architecture component Pod Volume mount Pod · Command-line arguments · Architecture component Pod Command-line arguments env.key1 = value1 · Environment Variable Usage env.key1 = value1 env.key2 = value2 · Environment Variable Usage env.key2 = value2 /etc/config/key1 · Volume Mount Usage /etc/config/key1 /etc/config/key2 · Volume Mount Usage /etc/config/key2 /etc/config/config.properties · Volume Mount Usage /etc/config/config.properties Environment variables Volume mount Command-line arguments ConfigMap Data Environment Variable Usage Volume Mount Usage Legend Pod (consumption method) ConfigMap and its data Value as seen inside the container