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

CKA study material · question 137 of 1000

A StatefulSet is scaled from five replicas to two. What happens to the two removed Pods' volumes?

  1. They are kept, on the reasoning that data safety comes first
  2. They are moved to the remaining Pods
  3. They are deleted with the Pods
  4. They are archived as VolumeSnapshots
Show the answer

Answer: A. They are kept, on the reasoning that data safety comes first

Scaling down or deleting a StatefulSet leaves the volumes behind by default to protect the data.

Source: StatefulSets (Kubernetes) — Limitations

Challenge yourself on this topic → Study as cards