新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
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"'
|
||||
Reference in New Issue
Block a user