7 lines
254 B
Bash
7 lines
254 B
Bash
cd /kiamol/ch04
|
|
|
|
kubectl create configmap sleep-config-env-file --from-env-file=sleep/ch04.env
|
|
kubectl get cm sleep-config-env-file
|
|
kubectl apply -f sleep/sleep-with-configMap-env-file.yaml
|
|
kubectl exec deploy/sleep -- sh -c 'printenv | grep "^KIAMOL"'
|