What is PVC (PersistentVolumeClaim)?
A request by a pod for storage. A PVC binds to a PersistentVolume provisioned by a storage class (e.g. Longhorn). The PVC lifecycle is independent of the pod lifecycle.
PVC (PersistentVolumeClaim) explained
How it works. A PersistentVolumeClaim (PVC) is a request for storage — size, access mode and StorageClass. Kubernetes binds it to a PersistentVolume, which a CSI driver usually creates on demand (dynamic provisioning). Pods mount the PVC, not the volume directly.
Access modes. ReadWriteOnce (one node), ReadWriteOncePod (one Pod), ReadOnlyMany and ReadWriteMany (many nodes, needs shared storage such as NFS or CephFS).
Common pitfalls.
- ›Deleting a PVC whose StorageClass has
reclaimPolicy: Deletedeletes the data. - ›StatefulSets keep their PVCs after scale-down — they are reused, not cleaned up.
- ›A PVC stuck in Pending usually means no default StorageClass or no capacity in the zone.
Related tool
K8s Cluster Cost
Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.
Related Calculators
Longhorn Storage
Calculate the total storage required for Longhorn distributed block storage, including replica overhead, snapshot retention, and S3 backup sizing on Hetzner Object Storage.
K8s Cluster Cost
Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.