Bird
0
0

What does the maxUnavailable parameter control in a Kubernetes rolling update strategy?

easy📝 Conceptual Q1 of 15
Kubernetes - ReplicaSets and Deployments
What does the maxUnavailable parameter control in a Kubernetes rolling update strategy?
AThe maximum number of new pods created during the update
BThe maximum number of pods that can be unavailable during the update
CThe total number of pods in the deployment
DThe minimum number of pods that must be ready before starting the update
Step-by-Step Solution
Solution:
  1. Step 1: Understand maxUnavailable in rolling updates

    The maxUnavailable parameter defines how many pods can be down at the same time during an update.
  2. Step 2: Relate maxUnavailable to pod availability

    This means it controls the maximum number of pods that can be unavailable while new pods are being rolled out.
  3. Final Answer:

    The maximum number of pods that can be unavailable during the update -> Option B
  4. Quick Check:

    maxUnavailable = maximum pods unavailable [OK]
Quick Trick: maxUnavailable limits pods down during update [OK]
Common Mistakes:
  • Confusing maxUnavailable with maxSurge
  • Thinking it controls total pods
  • Assuming it sets minimum ready pods

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes