PersistentVolumes
PersistentVolume is a piece of storage in a Kubernetes cluster that has been provisioned for use by pods. It represents an actual storage resource in the underlying infrastructure, such as a cloud disk, an NFS share, or a block device. PVs are cluster-scoped resources.
A PersistentVolumeClaim is a request for storage by a user or application. The control plane binds an
PVs can be statically provisioned by administrators or dynamically provisioned using StorageClasses. Dynamic provisioning uses a
The PV specification includes fields such as capacity (storage size), accessModes, persistentVolumeReclaimPolicy, storageClassName, and a source
Access modes describe how the volume can be mounted: ReadWriteOnce, ReadOnlyMany, and ReadWriteMany. ReclaimPolicy determines what
PV resources are non-namespaced, whereas PVCs are namespaced. The typical lifecycle is Available, Bound, and Released.