Back to all scenarios
Scenario #441
Scaling & Load
Kubernetes v1.24, AWS EKS
Scaling Delayed Due to Incorrect Resource Requests
Pod scaling was delayed because of incorrectly set resource requests, leading to resource over-provisioning.
Find this helpful?
What Happened
Pods were scaled up, but they failed to start due to overly high resource requests that exceeded available node capacity.
Diagnosis Steps
- 1Checked pod resource requests and found they were too high for the available nodes.
- 2Observed that scaling metrics showed no immediate response, and pods remained in a Pending state.
Root Cause
Resource requests were misconfigured, leading to a mismatch between node capacity and pod requirements.
Fix/Workaround
• Reduced resource requests to better align with the available cluster resources.
• Set resource limits more carefully based on load testing.
Lessons Learned
Ensure that resource requests are configured properly to match the actual load requirements.
How to Avoid
- 1Perform resource profiling and benchmarking before setting resource requests and limits.
- 2Use metrics-based scaling strategies to adjust resources dynamically.