PRACTICE / UNDERSTAND / REPEAT

Kubernetes: Rolling updates

Practice rolling updates with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

20 questionsAnswers explainedFree · no login
Question 1 of 20
Rolling updates · MCQQuestion link ↗

A Deployment desires 3 replicas and allows maxSurge: 2. Ignoring terminating Pods, what is the maximum number of Pods allowed during the rollout?

Choose one answer
Answer & explanation

Answer: 5

An integer maxSurge adds that many Pods above the desired replica count. Terminating Pods may complicate observed totals, which is excluded here.