Config Maps

Config Maps are used to change something such as URL or name at deployment time.

Working with Config Maps

$ kubectl create configmap logger - —from-literal=log_level=debug

Create a config map with log_level = debug

$ kubectl get configmaps

Get all config maps present in cluster

$ kubectl get configmap/logger -o yaml

Output config map as a yaml file.

Last updated