kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch05/exercises/5.14.sh

8 lines
174 B
Bash

cd /kiamol/ch05
kubectl apply -f todo-list/postgres-persistentVolumeClaim-dynamic.yaml
kubectl get pvc
kubectl get pv
kubectl delete pvc postgres-pvc-dynamic
kubectl get pv