kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch04/exercises/4.02.sh

5 lines
123 B
Bash

cd /kiamol/ch04
kubectl apply -f sleep/sleep-with-env.yaml
kubectl exec deploy/sleep -- printenv HOSTNAME KIAMOL_CHAPTER