← GKE171 / 640
easykubectl

Create a ConfigMap from a file and inject it as environment variables into a deployment

command

kubectl create configmap web-config --from-file=config.properties

also accepted

kubectl create configmap web-config --from-file=config.properties && kubectl set env deployment/web-app --from=configmap/web-config

Test your recall — not just your reading.

Practice with interactive quiz →