What is the relationship between Persistent Volumes and Persistent Volume Claims (1:1 or 1:n) [duplicate] What is the relationship between Persistent Volumes and Persistent Volume Claims (1:1 or 1:n) [duplicate] kubernetes kubernetes

What is the relationship between Persistent Volumes and Persistent Volume Claims (1:1 or 1:n) [duplicate]


It is a one-to-one relationship.

You can have many PVs in your environment. A specific PVC is a claim for a specific instance that match your requested criterias, e.g. size and type. The volume will be claimed and hold your data as long as your PVC-resource exist in your cluster, but if you delete your PVC, the data might be lost.

From documentation:

Once bound, PersistentVolumeClaim binds are exclusive, regardless of how they were bound. A PVC to PV binding is a one-to-one mapping, using a ClaimRef which is a bi-directional binding between the PersistentVolume and the PersistentVolumeClaim.