DEV Community

Raju Nandi
Raju Nandi

Posted on

In 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 , Do you know the difference between 𝐕𝐨𝐥𝐮𝐦𝐞 𝐁𝐢𝐧𝐝𝐢𝐧𝐠 and 𝐕𝐨𝐥𝐮𝐦𝐞 𝐌𝐨𝐮𝐧𝐭𝐢𝐧𝐠 ?

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.

Image description

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!

Top comments (0)