Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)

git clone https://github.com/kodekloudhub/kubernetes-metrics-server.git

 

kubectl create -f kubernetes-metrics-server/

 

In this way, all the services and components are properly installed, you can run:

kubectl top nodes

Or

kubectl top pods

Guess you like

Origin www.cnblogs.com/sxgaofeng/p/12059099.html