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

8/31/2019

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.

-- DaiKeung
azure
azure-aks
azure-kubernetes
kubernetes
metrics

1 Answer

9/3/2019

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

-- 4c74356b41
Source: StackOverflow