An HPA targets a workload (scaleTargetRef) that does not exist or is invalid, or the metrics it uses are unavailable. The HPA cannot scale correctly.
Warning
N/A
- Report shows: HPA target workload or metrics issue
- HPA status shows no scale target or metric errors
- Verify scaleTargetRef (apiVersion, kind, name) points to a valid Deployment, StatefulSet, or other scalable resource
- For resource metrics ensure metrics-server is running and pods have requests set
- For custom/external metrics ensure the metrics API and adapters are installed and returning data
- Check HPA events:
kubectl describe hpa <name> -n <ns>