<p>I am new kubernetes. Recently setup a a cluster with two services. </p>

<p>But the cpu and memory information for each pod is not shown in the dashboard. </p>

<p>Please let me know what did i missed. </p>

<p><a href="https://i.stack.imgur.com/VIcSJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VIcSJ.png" alt="enter image description here"></a></p>

<p>I installed matrix-server from here 
<a href="https://github.com/kubernetes-incubator/metrics-server" rel="nofollow noreferrer">https://github.com/kubernetes-incubator/metrics-server</a></p>

<p>when i execute <code>kubectl top nodes -v 10</code></p>

<p>The response is always </p>

<pre><code>I0622 18:15:03.699282    5524 round_trippers.go:438] GET https://172.*.*.*:6443/api/v1/namespaces/kube-system/services/http:heapster:/proxy/apis/metrics/v1alpha1/nodes?labelSelector= 200 OK in 3 milliseconds
I0622 18:15:03.699306    5524 round_trippers.go:444] Response Headers:
I0622 18:15:03.699313    5524 round_trippers.go:447]     Content-Type: application/json
I0622 18:15:03.699320    5524 round_trippers.go:447]     Date: Sat, 22 Jun 2019 18:15:03 GMT
I0622 18:15:03.699450    5524 request.go:942] Response Body: {
  "metadata": {},
  "items": null
 }
I0622 18:15:03.699550    7417 helpers.go:114] error: metrics not available yet
</code></pre>

<p>thank you</p>

John
<p>Try using these args for metrics-server:</p>

<pre><code>args:
  - --kubelet-insecure-tls
  - --kubelet-preferred-address-types=InternalIP
</code></pre>

<p>You may also find more hints in this github issue: <a href="https://github.com/kubernetes-incubator/metrics-server/issues/131" rel="nofollow noreferrer">https://github.com/kubernetes-incubator/metrics-server/issues/131</a></p>
