Last updated
Last updated
In this section, we will take a look at Using PVC in PODs
In this case, Pods access storage by using the claim as a volume. Persistent Volume Claim must exist in the same namespace as the Pod using the claim.
The cluster finds the claim in the Pod's namespace and uses it to get the Persistent Volume backing the claim. The volume is then mounted to the host and into the Pod.
Persistent Volume is a cluster-scoped and Persistent Volume Claim is a namespace-scoped.
File Name : pv-definition.yaml
File Name : pvc-definition.yaml
File Name : pod-definition.yaml