Interview Prep/AWS/ECS, EKS, Lambda and ECR

An EKS pod is stuck in Pending with "0/3 nodes are available: Insufficient cpu". What do you do?

IntermediateScenarioECS, EKS, Lambda and ECR
Answer

Situation read → Capacity or requests are too high.

What I'd do →

  1. kubectl describe pod for the scheduler message
  2. kubectl top nodes and review requests versus usage
  3. Scale the node group or let the autoscaler add nodes
  4. Right-size over-large requests
  5. Check taints and affinity

Why → Scheduling uses requests, not actual usage.

Interview tip → Requests drive bin-packing and cost.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on ECS, EKS, Lambda and ECR