A quick question, can we assign multiple PVC to one PV

Mayur Sharma:
A quick question, can we assign multiple PVC to one PV

Shahin Ahmed:
No, they have 1 to 1 relationship

Mayur Sharma:
For e.g. PV created with 100 GB, can I create two PVC which requires 50GB each… would both PVC can be claimed and use the same PV

Shahin Ahmed:
if you create a pv with 100gb and create pvc that require 50gb. It will get bound to the pv which has 100gb. This means the other 50gb will be unused.

Shahin Ahmed:
In most cases, to avoid this you can create a dynamic storage class and assign your dynamic storage class with pvc. This will only provision a pv with the requested resource. –> https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/

Mayur Sharma:
Thanks @Shahin Ahmed for the clarification!