Bootstrap FreeKB - Kubernetes - List Persistent Volume Claims using kubectl
Kubernetes - List Persistent Volume Claims using kubectl

Updated:   |  Kubernetes articles

If you are not familiar with the kubectl command, check out my article Getting Started with kubectl.

A persistent volume (PV) is the "physical" volume (such as a hard disk drive or solid state drive) on the host machine (node) that stores your persistent data, whereas a persistent volume claim (PVC) is a reference to a persistent volume, used by a pod.

 

The kubectl get persistentvolumeclaims command can be used to list the persistent volume claimss that have been created.

~]# kubectl get persistentvolumeclaims
NAME      STATUS   VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
csi-pvc   Bound    csi-pv   10M        RWX            csi            25s

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 4863a1 in the box below so that we can be sure you are a human.