How to enable kube-system/metrics-server from status “False (MissingEndpoints)”?

故事扮演 提交于 2019-12-11 17:14:56

问题


My metrics-server was sudden not working and got below information:

$ kubectl get apiservices |egrep metrics
v1beta1.metrics.k8s.io kube-system/metrics-server False (MissingEndpoints)

I tried to implement below but still not okay:

$ git clone https://github.com/kubernetes-incubator/metrics-server.git
$ cd metrics-server
$ kubectl apply -f deploy/1.8+/

Please advise, thanks.


回答1:


in this case the solution was to upgrade kubernetes version for nodes to reapply metrics server



来源:https://stackoverflow.com/questions/57739870/how-to-enable-kube-system-metrics-server-from-status-false-missingendpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!