Back to all scenarios
Scenario #480
Scaling & Load
Kubernetes v1.22, AWS EKS

Autoscaling Disabled Due to Resource Constraints

Autoscaling was disabled due to resource constraints on the cluster.

Find this helpful?
What Happened

During a traffic spike, autoscaling was unable to trigger because the cluster had insufficient resources to create new nodes.

Diagnosis Steps
  • 1Reviewed Cluster Autoscaler logs and found that the scaling attempt failed because there were not enough resources in the cloud to provision new nodes.
  • 2Observed that resource requests and limits on existing pods were high.
Root Cause

Cluster was running at full capacity, and the cloud provider could not provision additional resources.

Fix/Workaround
• Reduced resource requests and limits on existing pods.
• Requested additional capacity from the cloud provider to handle scaling operations.
Lessons Learned

Autoscaling is only effective if there are sufficient resources to provision new nodes.

How to Avoid
  • 1Monitor available cluster resources and ensure that there is capacity for scaling events.
  • 2Configure the Cluster Autoscaler to scale based on real-time resource availability.