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!

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how theyโ€™re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more