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

8 lines
202 B
Bash
Raw Normal View History

cd /kiamol/ch05
kubectl apply -f storageClass/postgres-persistentVolumeClaim-storageClass.yaml
kubectl apply -f storageClass/todo-db.yaml
kubectl get pvc
kubectl get pv
kubectl get pods -l app=todo-db