In this blog , I am going to discuss the two familiar terms in kubernetes world.
๐๐จ๐ฅ๐ฎ๐ฆ๐ ๐๐ข๐ง๐๐ข๐ง๐
- The PersistentVolume (PV)represents a storage resource in the cluster.
- The PersistentVolumeClaim (PVC)is a request for storage.
- The binding process occurs when a PVC is associated with a PV that meets the requested storage size and other specifications.
- This step is about reserving storage for the pod, but the actual storage is not yet attached to the pod.
๐๐จ๐ฅ๐ฎ๐ฆ๐ ๐๐จ๐ฎ๐ง๐ญ๐ข๐ง๐
- After the binding is complete, the pod will mount the storage.
- The mounted PV (from the PVC) is attached to a specific directory in the podโs filesystem, allowing the pod to read from or write to the PV. The below image illustrates both the process.
For more Tech Bytes on Cloud and Devops you can view the below playlist or follow my channel NandiTechBytes on Youtube.
๐ฝ Devops Projects and Tasks
Cheers
Keep Learning!