Bird
0
0

You applied a Deployment YAML but the pods are stuck in Pending state. What is the most likely cause?

medium📝 Debug Q6 of 15
AWS - EKS
You applied a Deployment YAML but the pods are stuck in Pending state. What is the most likely cause?
AThe container image name is incorrect
BThe Deployment YAML has a syntax error
CThe service is not exposing the pods
DThere are no available nodes with enough resources
Step-by-Step Solution
Solution:
  1. Step 1: Understand pod Pending state

    Pods stay Pending when Kubernetes cannot schedule them on nodes due to resource limits or node availability.
  2. Step 2: Evaluate other options

    Incorrect image causes crash, syntax errors prevent creation, and service exposure doesn't affect pod scheduling.
  3. Final Answer:

    There are no available nodes with enough resources -> Option D
  4. Quick Check:

    Pending pods = scheduling/resource issue [OK]
Quick Trick: Pending pods usually mean no suitable nodes available [OK]
Common Mistakes:
  • Assuming image errors cause Pending state
  • Thinking service exposure affects pod scheduling
  • Confusing syntax errors with pod state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes