Update change-pv-reclaim-policy.md
This commit is contained in:
@@ -43,7 +43,7 @@ the corresponding `PersistentVolume` is not be deleted. Instead, it is moved to
|
|||||||
This list also includes the name of the claims that are bound to each volume
|
This list also includes the name of the claims that are bound to each volume
|
||||||
for easier identification of dynamically provisioned volumes.
|
for easier identification of dynamically provisioned volumes.
|
||||||
|
|
||||||
1. Chose one of your PersistentVolumes and change its reclaim policy:
|
1. Choose one of your PersistentVolumes and change its reclaim policy:
|
||||||
|
|
||||||
kubectl patch pv <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
|
kubectl patch pv <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user