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/

 

这样,所有服务和组件均已正确安装,您可以运行:

kubectl top nodes

要么

kubectl top pods

猜你喜欢

转载自www.cnblogs.com/sxgaofeng/p/12059099.html