- Home
- All questions
- Question 638
CKA study material · question 638 of 1000
A StatefulSet named db has replicas scaled from 3 to 1. Which two statements describe what happens? Choose two.
Show the answer
Answer: A. db-2 is terminated before db-1
C. db-1 is not terminated until db-2 has fully shut down
A StatefulSet removes Pods in reverse ordinal order, and a Pod is not terminated until all of its successors have completely shut down.
Source: StatefulSets (Kubernetes) — Deployment and Scaling Guarantees