Explain PV reclaim policies.
IntermediateConceptConfiguration & Storage
Answer
Delete removes the backing storage when the PVC is deleted (default for dynamically provisioned volumes); Retain keeps the PV and data for manual recovery, leaving it Released and not reusable until an admin clears the claimRef. Recycle is deprecated.
kubectl patch pv pvc-123 -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
More on Configuration & Storage
What is a ConfigMap and how can a Pod consume it?BeginnerWhat is a Secret and is it secure by default?BeginnerWhat are the common Secret types?BeginnerWhat is a Volume and how does it differ from a container filesystem?BeginnerWhat is `emptyDir` and when is it used?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?Beginner