Bird
0
0

You observe a Deployment with replicas: 6 configured, but kubectl get pods shows only 4 pods running. What does this discrepancy imply?

easy📝 Conceptual Q2 of 15
Kubernetes - ReplicaSets and Deployments
You observe a Deployment with replicas: 6 configured, but kubectl get pods shows only 4 pods running. What does this discrepancy imply?
AThe Deployment controller has not yet created all requested pods.
BThe Deployment is configured incorrectly and will never create more pods.
CThe actual replicas count always matches desired replicas immediately.
DThe pods are running but not counted as actual replicas.
Step-by-Step Solution
Solution:
  1. Step 1: Understand desired replicas

    The replicas field specifies how many pods the Deployment should maintain.
  2. Step 2: Check actual replicas

    The actual number of pods running may be less temporarily due to scheduling delays or pod startup time.
  3. Final Answer:

    The Deployment controller has not yet created all requested pods. -> Option A
  4. Quick Check:

    Desired replicas can be higher than actual temporarily [OK]
Quick Trick: Desired replicas is target; actual may lag behind [OK]
Common Mistakes:
  • Assuming actual replicas always equals desired immediately
  • Thinking pods exist but are not counted
  • Believing configuration errors prevent pod creation permanently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes