Search code examples
kubernetes-helmamazon-eks

EKS HPA: unable to fetch metrics from API: the server could not find the requested resource (get pods.metrics.k8s.io)


I am using EKS and bitnami metrics server helm chart.

The HPA resource shows the following message: failed to get cpu utilization: unable to get metrics for resource cpu: no metrics returned from resource metrics API


Solution

  • I solved this by removing the helm chart metrics server installation and installing metrics-server the eks way using the manifest in the docs