Architecture Design and Implementation Built for the Cloud

An Amazon EKS workload uses the Horizontal Pod Autoscaler to add replicas during traffic spikes, but new pods remain Pending because its managed node group lacks capacity. Which change automatically provides capacity for these pods?

Show the answer

Correct answerD. Configure Cluster Autoscaler to scale the managed node group.

AWhy not this: AWS Application Auto Scaling does not directly scale Kubernetes pod replicas or EKS managed node groups.

BWhy not this: Higher CPU requests increase each pod's capacity requirement and can make scheduling more difficult.

CWhy not this: A higher replica limit permits more pods but does not provide nodes on which to schedule them.

DWhy this is right: Cluster Autoscaler can expand the managed node group to accommodate unschedulable pods.

Cluster Autoscaler increases node group capacity when unschedulable pods require additional nodes. The Horizontal Pod Autoscaler changes replica counts, not the number of worker nodes.