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

CKA study material · question 639 of 1000

A StatefulSet is scaled from 1 to 3, but only web-0 and web-1 ever appear. web-1 is Running but never becomes Ready. Why is web-2 missing?

  1. The StatefulSet ran out of PersistentVolumes
  2. web-2 requires an ordinal that is already in use
  3. The scheduler cannot place a third replica
  4. Every lower ordinal must be Running and Ready before the next is created
Show the answer

Answer: D. Every lower ordinal must be Running and Ready before the next is created

Under the default OrderedReady policy a StatefulSet waits for each predecessor to be Running and Ready, so a stuck web-1 blocks web-2 indefinitely.

Source: StatefulSets (Kubernetes) — Deployment and Scaling Guarantees

Challenge yourself on this topic → Study as cards