kubernetes get persistent volumes 1

kubernetes get persistent volumes

kubectl get pv

Here is what the above code is Doing:
1. Create a PersistentVolumeClaim named “myclaim”
2. Create a Pod named “mypod” that uses the PersistentVolumeClaim
3. Wait for the Pod to be scheduled and run
4. Print the log output from the Pod’s container
5. Delete the Pod

Similar Posts