<p>I run a small Kubernetes cluster on the managed Google Kubernetes Engine (GKE) service. I didn't to any further changes, except from deploying three simple deployments. So I assumed that everything, including metrics, works out of the box. Unfortunately, when I filter for <code>metric-server</code>, I see a lot of errors in stackdriver that do not seem right.</p>
<p>Does somebody know where these are coming from, what impact they have and how to fix it (although I would assume Google needs to fix I, since I pay for GKE :D ).</p>
<p>Thanks in advance.</p>
<p><a href="https://i.stack.imgur.com/bstXR.png" rel="nofollow noreferrer">GKE Kubernets GCP logs</a></p>

<p>Edit the <code>metrics-server-deployment</code> and add:</p>
<pre><code>command:
    - /metrics-server 
    - --kubelet-preferred-address-types=InternalIP
    - --kubelet-insecure-tls
</code></pre>
<p>Note that this not a very good solution from security standpoint.</p>
