HorizontalPodAutoscaler cannot access metric data because metrics-server is not running, pod metrics are incomplete, or the metrics API is not responding.
Fixes unable to get metrics: no metrics found for target
# unable to get metrics: no metrics found for targetunable to get metrics: no metrics found for target
HPA queries the metrics API to fetch metric values (CPU, memory, custom). When the metrics API is unavailable, unresponsive, or has no data for the target, HPA cannot make scaling decisions. This blocks autoscaling completely—HPA will keep the current replica count and report "Unknown" status.
First diagnostic step
Second diagnostic step
Third diagnostic step
Fourth diagnostic step
Fifth diagnostic step
Additional notes and platform-specific considerations.