Study. uk . com
  1. Home
  2. All questions
  3. 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?

  1. Dynamically provisioned volumes default to the Delete reclaim policy
  2. Deleting a claim always deletes the backing storage
  3. The claim had no finalizers, so nothing protected it
  4. The volume was in the Released phase, which discards data
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

Challenge yourself on this topic → Study as cards