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