Member-only story
Understanding Kubernetes: Part 12 -Persistent Volume Claim (PVC)
If you’ve been following our Kubernetes series 2025, welcome back! For new readers, check out Part 11: Understanding Kubernetes: Persistent Volume
📖 Not a Medium member? No worries! Here’s the free link: Part 12 - Persistent Volume Claim
What is a Persistent Volume Claim (PVC) in Kubernetes?
A Persistent Volume Claim (PVC) in Kubernetes is a request for storage by a user. It acts as a bridge between pods and Persistent Volumes (PVs), allowing pods to use storage without knowing the details of the underlying infrastructure. A PVC specifies the amount of storage and access modes needed, and Kubernetes binds it to a suitable PV.
For example:
If you have a web application like WordPress that needs persistent storage for its data, a PVC can request 10Gi of storage with a ReadWriteOnce
access mode. Kubernetes will then bind the PVC to an appropriate PV, ensuring the application has durable and reliable storage.
Persistent Volume Claim Capabilities:
- Dynamic Binding: Automatically provisions storage if a StorageClass is configured.
- Flexibility: Allows users to specify size, access modes, and…