- To clone the GitHub repository of metrics-server, run the following command:
git clone https://github.com/kubernetes-incubator/metrics-server.git
cd metrics-server/
- To install Metrics Server from the root of the Metrics Server directory, run the following command:
kubectl create -f deploy/1.8+/