- Home
- All questions
- Question 642
CKA study material · question 642 of 1000
You need a StatefulSet's Pods to shut down in an orderly, graceful sequence. What is the documented way to achieve that?
Show the answer
Answer: C. Scale the StatefulSet to zero replicas first, then delete it
Deleting a StatefulSet gives no termination ordering guarantee at all; scaling to zero exercises the ordered shutdown path before the object itself is removed.
Source: StatefulSets (Kubernetes) — Limitations