问题
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