- Home
- All questions
- Question 641
CKA study material · question 641 of 1000
A StatefulSet with three replicas and a volumeClaimTemplate is deleted, with no retention policy configured. What happens to its PersistentVolumeClaims?
Show the answer
Answer: B. They remain, because data safety is preferred over automatic cleanup
Deleting or scaling down a StatefulSet does not remove its volumes; keeping the data is treated as more valuable than tidying up, which is why persistentVolumeClaimRetentionPolicy exists to change it.
Source: StatefulSets (Kubernetes) — Limitations