Persistent Volume Claim
Fleeting- See
persistent volume claim
From https://kubernetes.io/docs/concepts/storage/persistent-volumes/
A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources.
A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes
A control loop in the master watches for new PVCs, finds a matching PV (if possible), and binds them together.
PersistentVolumeClaim binds are exclusive, regardless of how they were bound. A PVC to PV binding is a one-to-one mapping
Claims will be bound as matching volumes become available
By specifying a PersistentVolume in a PersistentVolumeClaim, you declare a binding between that specific PV and PVC. If the PersistentVolume exists and has not reserved PersistentVolumeClaims through its claimRef field, then the PersistentVolume and PersistentVolumeClaim will be bound.
Pods access storage by using the claim as a volume. […] The cluster […] uses it to get the PersistentVolume backing the claim. The volume is then mounted to the host and into the Pod.
Notes linking here
- helm ne supprime pas les pvc des statefulset
- how to share data using a local kubernetes cluster (blog)
- k8s deadlock if job helm.sh/hook postinstall using a pvc
- lifecycle of persistent volumes
- playing with gce persistent disk in k8s
- pvc gérés par un statefulset sont persistés par helm delete alors que supprimés si par deployment
- volumes persistants et provisionnement dynamique