Merge pull request #47282 from deepakkinni/doc_update_v3
Doc update for Persistent Volumespull/47298/head
commit
a8b167a470
|
@ -253,12 +253,15 @@ However, the particular path specified in the custom recycler Pod template in th
|
|||
Finalizers can be added on a PersistentVolume to ensure that PersistentVolumes
|
||||
having `Delete` reclaim policy are deleted only after the backing storage are deleted.
|
||||
|
||||
The newly introduced finalizers `kubernetes.io/pv-controller` and
|
||||
`external-provisioner.volume.kubernetes.io/finalizer`
|
||||
are only added to dynamically provisioned volumes.
|
||||
The finalizer `external-provisioner.volume.kubernetes.io/finalizer`(introduced
|
||||
in v1.31) is added to both dynamically provisioned and statically provisioned
|
||||
CSI volumes.
|
||||
|
||||
The finalizer `kubernetes.io/pv-controller` is added to in-tree plugin volumes.
|
||||
The following is an example
|
||||
The finalizer `kubernetes.io/pv-controller`(introduced in v1.31) is added to
|
||||
dynamically provisioned in-tree plugin volumes and skipped for statically
|
||||
provisioned in-tree plugin volumes.
|
||||
|
||||
The following is an example of dynamically provisioned in-tree plugin volume:
|
||||
|
||||
```shell
|
||||
kubectl describe pv pvc-74a498d6-3929-47e8-8c02-078c1ece4d78
|
||||
|
@ -317,6 +320,11 @@ When the `CSIMigration{provider}` feature flag is enabled for a specific in-tree
|
|||
the `kubernetes.io/pv-controller` finalizer is replaced by the
|
||||
`external-provisioner.volume.kubernetes.io/finalizer` finalizer.
|
||||
|
||||
The finalizers ensure that the PV object is removed only after the volume is deleted
|
||||
from the storage backend provided the reclaim policy of the PV is `Delete`. This
|
||||
also ensures that the volume is deleted from storage backend irrespective of the
|
||||
order of deletion of PV and PVC.
|
||||
|
||||
### Reserving a PersistentVolume
|
||||
|
||||
The control plane can [bind PersistentVolumeClaims to matching PersistentVolumes](#binding)
|
||||
|
|
Loading…
Reference in New Issue