kubectl get pvc
SafeCheck PVCs/PVs
kubectl get pvc [-n ns]
Shows storage claims and volumes. Pending PVCs usually mean StorageClass mismatch or no capacity.
Examples
kubectl describe pvc data-claimWhy a claim is Pending
Syntax
kubectl get pvc / kubectl get pv
Before you run it
Read only.
Related commands
- kubectl describeDescribe resource/events
- kubectl get eventsCluster events
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store