Study. uk . com
  1. Home
  2. All questions
  3. Question 146

CKA study material · question 146 of 1000

A StatefulSet Pod is replaced after its node fails. What happens to its PersistentVolumeClaim?

  1. It is converted into a VolumeSnapshot
  2. It is deleted and a new one is created
  3. It is deleted only if whenScaled is Delete
  4. It is retained and reattached to the replacement Pod
Show the answer

Answer: D. It is retained and reattached to the replacement Pod

The retention policy fires only on deletion or scale-down; a Pod replaced after node failure keeps its claim.

Source: StatefulSets (Kubernetes) — PersistentVolumeClaim retention

Challenge yourself on this topic → Study as cards