Kubernetes - List Persistent Volumes using kubectl

by
Jeremy Canfield |
Updated: November 14 2023
| 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 persistentvolumes command can be used to list the persistent volumes that have been created.
~]$ kubectl get persistentvolumes
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
csi-pv 10M RWX Retain Available 12s
Did you find this article helpful?
If so, consider buying me a coffee over at