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

6 lines
166 B
Bash
Raw Normal View History

cd /kiamol/ch04
kubectl apply -f sleep/sleep.yaml
kubectl wait --for=condition=Ready pod -l app=sleep
kubectl exec deploy/sleep -- printenv HOSTNAME KIAMOL_CHAPTER