<p>I have a Problem with the Kubernetes Dashboard.
I use actually the Managed Kubernetes Service AKS and created a Kubernetes Cluster with following Setup:</p>
<ul>
<li>Kubernetes-Version 1.20.9</li>
<li>1 Worker Node with Size Standard_DS2_v2</li>
</ul>
<p>It starts successfully with the automatic configuration of <strong>coredns</strong>, <strong>corednsautoscaler</strong>, <strong>omsagent-rs</strong>, <strong>tunnelfront</strong> and the <strong>metrics-sever</strong>.</p>
<p>After that i applied three deployments for my services, which all are deployed successfully.</p>
<p>Now, i want to get access to the Kubernetes Dashboard. I used the instruction which is described on <a href="https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard" rel="nofollow noreferrer">https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard</a>.</p>
<p>After that I call <strong>kubectl proxy</strong> to access the dashboard via the url: <a href="http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/." rel="nofollow noreferrer">http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/.</a></p>
<p>After i use my kubeconfig-File to Sign to Kubernetes Dashboard i get following output and nor cpu neither memory usage is displayed.</p>
<p><a href="https://i.stack.imgur.com/coSnY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/coSnY.png" alt="enter image description here" /></a></p>
<p>When i execute kubectl describe kubernetes-dashboard pod i get following:
<a href="https://i.stack.imgur.com/FUus0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FUus0.png" alt="enter image description here" /></a></p>
<p>And the logs from the pod say following:</p>
<pre><code>Internal error occurred: No metric client provided. Skipping metrics.
2021/12/11 19:23:04 [2021-12-11T19:23:04Z] Outcoming response to 127.0.0.1:43392 with 200 status code
2021/12/11 19:23:04 Internal error occurred: No metric client provided. Skipping metrics.
2021/12/11 19:23:04 [2021-12-11T19:23:04Z] Outcoming response to 127.0.0.1:43392 with 200 status code
2021/12/11 19:23:04 Internal error occurred: No metric client provided. Skipping metrics.
</code></pre>

k_gokhan1905
<p><code>... I used the instruction which is described on https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard.</code></p>
<p>The dashboard needs a way to &quot;cache&quot; a small window of metrics collected from the metrics server. The instruction provided there doesn't have this enabled. You can run the following to install/upgrade kubernetes-dashboard with metrics scraper enabled:</p>
<pre><code>helm upgrade -i kubernetes-dashboard/kubernetes-dashboard --name my-release \  
--set=service.externalPort=8080,resources.limits.cpu=200m,metricsScraper.enabled=true
</code></pre>
