Kubernetes HPA Shows `<unknown>/80%` (Metrics Server Missing)
HorizontalPodAutoscaler cannot compute utilization without `metrics-server` or `resources.requests.cpu`.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Kubernetes HPA Shows `<unknown>/80%` (Metrics Server Missing)
Platform: Kubernetes
Common Root Causes:
- HorizontalPodAutoscaler cannot compute utilization without `metrics-server` or `resources.requests.cpu`.
Interactive Diagnostic Checklist
Verified Solutions:
- Install `metrics-server` and define explicit `resources.requests.cpu` on every container.
Safe Diagnostic Command:
kubectl describe hpa <name> && kubectl top pods
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
HorizontalPodAutoscaler cannot compute utilization without `metrics-server` or `resources.requests.cpu`. Recommended diagnostic: `kubectl describe hpa <name> && kubectl top pods`. Remediation: Install `metrics-server` and define explicit `resources.requests.cpu` on every container.
Worked Examples
- Run `kubectl describe hpa <name> && kubectl top pods` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-k8s-hpa-unable-to-fetch-metrics · Independently verified: 2026-11-25