Bird
0
0

What does the Recreate update strategy do in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - ReplicaSets and Deployments
What does the Recreate update strategy do in Kubernetes?
ADeletes old pods before creating new ones, causing downtime
BCreates new pods first, then deletes old pods to avoid downtime
CUpdates pods one by one without deleting any
DScales pods up and down simultaneously during update
Step-by-Step Solution
Solution:
  1. Step 1: Understand the Recreate strategy behavior

    The Recreate strategy deletes all old pods before starting new pods, which causes downtime.
  2. Step 2: Compare with other strategies

    Other strategies like RollingUpdate create new pods before deleting old ones to avoid downtime, unlike Recreate.
  3. Final Answer:

    Deletes old pods before creating new ones, causing downtime -> Option A
  4. Quick Check:

    Recreate = delete old pods first [OK]
Quick Trick: Recreate means delete old pods first, then create new [OK]
Common Mistakes:
  • Confusing Recreate with RollingUpdate
  • Thinking Recreate avoids downtime
  • Assuming pods update one by one

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes