Bird
0
0

Why is it important to carefully choose maxSurge and maxUnavailable values in a rolling update strategy?

hard📝 Conceptual Q10 of 15
Kubernetes - ReplicaSets and Deployments
Why is it important to carefully choose maxSurge and maxUnavailable values in a rolling update strategy?
ATo balance availability and resource usage during updates
BTo speed up the update by deleting all pods at once
CTo ensure the deployment always uses the Recreate strategy
DTo prevent any pods from restarting during updates
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of maxSurge and maxUnavailable

    These parameters control how many pods can be added or removed during updates, affecting availability and resource use.
  2. Step 2: Importance of balancing update speed and stability

    Choosing values balances keeping enough pods running while not overloading resources.
  3. Final Answer:

    To balance availability and resource usage during updates -> Option A
  4. Quick Check:

    Rolling update parameters balance availability and resources [OK]
Quick Trick: Balance pods up/down for smooth updates [OK]
Common Mistakes:
  • Thinking rolling update deletes all pods at once
  • Confusing rolling update with Recreate strategy
  • Assuming no pods restart during update

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes