โ๏ธ kubectl Commands
get pvList all PersistentVolumes in the cluster
get pvcList all PVCs in current namespace
describe pv <name>Show detailed info about a PV
describe pvc <name>Show detailed info about a PVC
apply -f file.yamlCreate or update from YAML
delete pv <name>Delete a PersistentVolume
delete pvc <name>Delete a PVC
๐ PV Status Lifecycle
AvailableFree resource, not yet bound to a PVC
BoundThe PV is bound to a PVC
ReleasedPVC was deleted, PV not yet reclaimed
FailedVolume failed auto-reclamation
๐ Access Modes
ReadWriteOnceMounted R/W by a single node (RWO)
ReadOnlyManyMounted read-only by many nodes (ROX)
ReadWriteManyMounted R/W by many nodes (RWX)
ReadWriteOncePodMounted R/W by a single pod (RWOP)
โป๏ธ Reclaim Policies
RetainData preserved after PVC deletion. Manual cleanup needed.
DeletePV and storage deleted automatically with the PVC.
RecycleDeprecated. Basic scrub before reuse.