Pod and node autoscaling
Horizontal Pod Autoscaling changes replica counts from configured metrics. CPU utilization-based targets require relevant resource requests and a metrics source. More replicas require schedulable capacity; node scaling is a separate capacity mechanism. Scaling can hit dependency bottlenecks, quotas, or delays. For example, hPA asks for six replicas while only three fit; pending Pods require node capacity rather than another Service.
HPA asks for six replicas while only three fit; pending Pods require node capacity rather than another Service.
Traffic increases and an HPA observes a supported metric above target. It calculates a desired replica count within configured bounds and changes the workload's desired replicas. Scheduling then needs enough node resources. If new Pods remain Pending, node capacity or scheduling constraints may be the next bottleneck, not the HPA's replica calculation.
HPA adjusts horizontal workload scale. A resource request is the declared scheduling baseline and participates in CPU utilization targets. Node autoscaling changes execution capacity through its chosen mechanism. Metrics availability, stabilization, and scaling policies influence timing. More Pods cannot automatically increase database write capacity or remove service quotas. Set realistic requests, measured targets, and bounded minimum/maximum scale. Test recovery from decreasing load as well as growth. Pod and node scaling have separate delays and costs, so plan how the application behaves while requested capacity is not yet available.
HPA asks for six replicas while only three fit; pending Pods require node capacity rather than another Service.
Do not overlook this operational distinction: Scaling can hit dependency bottlenecks, quotas, or delays.