- Home
- All questions
- Question 806
CKA study material · question 806 of 1000
A developer deletes a PersistentVolumeClaim created from the default StorageClass, and the data is gone. What explains this?
Show the answer
Answer: A. Dynamically provisioned volumes default to the Delete reclaim policy
A volume provisioned from a StorageClass inherits Delete unless the class says otherwise, so the storage asset goes with the claim. Setting reclaimPolicy: Retain on the class prevents that.
Source: Persistent Volumes (Kubernetes) — Lifecycle of a volume and claim › Reclaiming › Delete