Bird
0
0

If a canary deployment is configured with 3 replicas for canary and 7 for stable, what will kubectl get deployment app-canary show for READY pods?

medium📝 Command Output Q5 of 15
Kubernetes - Advanced Deployment Patterns
If a canary deployment is configured with 3 replicas for canary and 7 for stable, what will kubectl get deployment app-canary show for READY pods?
A7/7
B0/3
C10/10
D3/3
Step-by-Step Solution
Solution:
  1. Step 1: Identify canary deployment replicas

    The canary deployment has 3 replicas, so READY should reflect those 3 pods.
  2. Step 2: Understand kubectl output

    READY shows how many pods are ready out of desired replicas for that deployment.
  3. Final Answer:

    3/3 -> Option D
  4. Quick Check:

    Canary replicas ready = 3/3 [OK]
Quick Trick: READY shows pods ready for that deployment only [OK]
Common Mistakes:
  • Adding stable and canary replicas incorrectly
  • Confusing deployment with service pod counts
  • Assuming READY shows total pods in cluster

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes