HorizontalPodAutoscaler cannot calculate desired replica count due to missing metrics, invalid metric values, or computation errors. Scaling decisions fail.
Fixes unable to compute new replica count for HPA: missing request metric
# unable to compute new replica count for HPA: missing request metricunable to compute new replica count for HPA: missing request metric
HPA performs a calculation: desiredReplicas = currentMetricValue / targetMetricValue * currentReplicas. When metric values are missing, NaN, or invalid, this calculation fails and HPA cannot determine the desired replica count. HPA will report status as "Unknown" and not change replica count.
First diagnostic step
Second diagnostic step
Third diagnostic step
Fourth diagnostic step
Fifth diagnostic step
Additional notes and platform-specific considerations.