An HPA has no metrics defined under spec.metrics. Without metrics the HPA cannot compute desired replicas and will not scale.
Warning
N/A
- Report shows: HPA has no metrics configured
- spec.metrics is empty or missing
- Add at least one metric: resource (e.g. cpu, memory), pods, or object
- For resource metrics ensure metrics-server (or equivalent) is installed
- Set target type and value (e.g. averageUtilization for CPU)
- Verify the HPA can read the metric: check HPA status and events