Installing the Kubernetes Metrics Server - Amazon EKS

Installing the Kubernetes Metrics Server

The Kubernetes Metrics Server is an aggregator of resource usage data in your cluster, and it is not deployed by default in Amazon EKS clusters. The Metrics Server is commonly used by other Kubernetes add ons, such as the Horizontal Pod Autoscaler or the Kubernetes Dashboard. For more information, see Resource metrics pipeline in the Kubernetes documentation. This topic explains how to deploy the Kubernetes Metrics Server on your Amazon EKS cluster.

To deploy the Metrics Server

  1. Deploy the Metrics Server with the following command:

    kubectl apply -f
  2. Verify that the metrics-server deployment is running the desired number of pods with the following command.

    kubectl get deployment metrics-server -n kube-system


    NAME READY UP-TO-DATE AVAILABLE AGE metrics-server 1/1 1 1 6m