Thanks for sharing informative lecture on Kubernetes Volumes. One question, from which PV the PVC will get that 500 mb size of volume as per your example yaml. Where that specified?
@K21Academy Жыл бұрын
Hi Arun, the PVC will get the Storage from the pv bound to it. Once a PV is bound to a PVC, that PV is essentially tied to the PVC's project and cannot be bound to by another PVC so its one-one. For more clarity please refer: k21academy.com/docker-kubernetes/kubernetes-persistent-storage-pv-pvc-and-storage-class/
@arunnayak143 Жыл бұрын
@@K21Academy what if we have more than one PV. How does PVC get allocated in that case?