<p>I am trying to install metrics-server on my Kubernetes cluster. But it is not going to READY mode.</p>
<p>I am was installed metrics-server in this method</p>
<pre><code>kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
</code></pre>
<p><a href="https://i.stack.imgur.com/ITsQL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ITsQL.png" alt="enter image description here" /></a></p>
<p>After installing i was tried some of those commands, kubectl top pods, kubectl top nodes. But i got an error</p>
<p><strong>Error from server (ServiceUnavailable): the server is currently unable to handle the request (get pods.metrics.k8s.io)</strong></p>
<p>Metrics server is failed to start</p>
<p><a href="https://i.stack.imgur.com/VAlmz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VAlmz.png" alt="enter image description here" /></a></p>

Amjed saleel
<p>Enable metrics-server addon in minikube cluster.</p>
<p>Try the following commend.</p>
<pre><code>minikube addons enable metrics-server
</code></pre>
