Hands-on task
ConfigMap with settings
Prepare in /root/cm.yaml a ConfigMap app-config with two keys in data: LOG_LEVEL=info and MAX_CONN=100. Rather than writing YAML by hand, it's easier to generate the manifest with a kubectl command using --dry-run=client -o yaml. Open the resulting file in the Editor tab and see where kubectl put the keys.
- kubernetes
- configmap
- kubectl
- dry-run
- manifests