Back to all scenarios
Scenario #82
Cluster Management
K8s v1.20, AWS EKS

Pod Fails to Start Due to Insufficient Resource Requests

Pods failed to start because their resource requests were too low, preventing the scheduler from assigning them to nodes.

Find this helpful?
What Happened

The pods had very low resource requests, causing the scheduler to fail to assign them to available nodes.

Diagnosis Steps
  • 1Checked pod status and found them stuck in Pending.
  • 2Analyzed the resource requests and found that they were too low to meet the node's capacity requirements.
Root Cause

The resource requests were set too low, preventing proper pod scheduling.

Fix/Workaround
• Increased the resource requests in the pod spec.
• Reapplied the configuration, and the pods were scheduled successfully.
Lessons Learned

Always ensure that resource requests are appropriately set for your workloads.

How to Avoid
  • 1Use resource limits and requests based on accurate usage data from monitoring tools.
  • 2Set resource requests in line with expected workload sizes.