<p>I have created the kubernetes cluster with the version 1.19.11. Here, the metric-server installed by default. Now, I had hit the below queries,</p>
<p>kubectl get --raw &quot;/apis/metrics.k8s.io/v1beta1/nodes&quot;</p>
<p>it return &quot;Error from server (NotFound): the server could not find the requested resource&quot;.
So, Please help me to resolve the issues?.</p>

bala n
<p>If you are using <code>minikube</code>, try starting with the addon enabled <code>--addons=&quot;metrics-server&quot;</code>. For example:</p>
<pre><code>minikube start \
    --kubernetes-version=v1.25.2 \
    --addons=&quot;dashboard&quot; \
    --addons=&quot;metrics-server&quot; \
    --addons=&quot;ingress&quot; \
    --addons=&quot;ingress-dns&quot; \
    --feature-gates=EphemeralContainers=true
</code></pre>
