﻿# Interpret autoscaling decisions when replica metrics are missing

Interpret HPA with metric coverage, readiness and every configured metric before comparing the displayed average with the target.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-ks-hpa-missing-metrics/
Language: en

An HPA shows an average below its target while the model Deployment keeps the same replica count. Some new replicas have no usable metrics. The displayed average is not necessarily the conservative value used for the final scaling decision, so repeating the simple ratio from the status can produce the wrong diagnosis.

## Establish the metric population

List the target Pods, their lifecycle states, readiness transitions and metric timestamps. For per-Pod resource metrics, terminating and failed Pods are handled differently from running Pods with missing samples. CPU startup handling adds another distinction. Identify the population for the configured metric type rather than applying a single assumption to CPU, external and object metrics alike.

## Understand conservative missing samples

The documented algorithm sets missing Pod metrics aside before its initial calculation, then uses conservative assumptions to dampen the requested change. Missing data can therefore reduce scaling even when the visible sampled average looks decisive. It is not equivalent to treating every absent observation as measured idle capacity. Preserve coverage alongside the metric value.

## Read readiness effects separately

CPU metrics from not-yet-ready Pods receive special initialization treatment. A model that is loading weights may not yet provide a useful sample for that decision. Correlate readiness with sample intervals, not just current status. Changing probes to make a dashboard look complete can expose an unprepared model without repairing the metric collection path.

## Review every configured metric

With multiple metrics, HPA selects among their desired replica counts. An unavailable metric can block a proposed decrease while another valid metric can still justify an increase. Read metric-specific errors and conditions instead of concluding that HPA is wholly inactive. Resource-utilization targets also depend on declared requests, which must be interpreted consistently across containers.

## Reproduce a coverage gap

In a disposable workload, withhold one synthetic metric stream and compare sampled average, coverage and resulting replica decision before restoring it. Success means the observed decision follows the documented missing-data and readiness rules. It does not prove that the chosen metric represents inference demand, that newly created replicas will warm quickly or that scaling resolves an overloaded dependency.

## Primary references

[Horizontal Pod Autoscaling](https://kubernetes.io/docs/concepts/workloads/autoscaling/horizontal-pod-autoscale/).

[HorizontalPodAutoscaler Walkthrough](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/).

[Resource Management for Pods and Containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/).

Related reading: [GPU autoscaling: a free card is not a ready replica](/journal/autoscaling-gpu-cold-start/); [Idle GPU, throttled CPU: diagnosing container CPU quota](/journal/cgroup-cpu-throttling-gpu-feeder/).
