<p>I install metricbeat via official helm charts (default value).</p>

<p>But, inside log files I observed that :</p>

<p>kubectl -n logging logs metricbeat-metricbeat-ljjfx :</p>

<pre><code>2019-10-20T10:22:57.191Z    WARN    transport/tcp.go:53 DNS lookup failure "k8s-node4": lookup k8s-node4 on 10.96.0.10:53: no such host
2019-10-20T10:23:01.196Z    WARN    transport/tcp.go:53 DNS lookup failure "k8s-node4": lookup k8s-node4 on 10.96.0.10:53: no such host
2019-10-20T10:23:02.143Z    WARN    transport/tcp.go:53 DNS lookup failure "k8s-node4": lookup k8s-node4 on 10.96.0.10:53: no such host
2019-10-20T10:23:03.867Z    WARN    transport/tcp.go:53 DNS lookup failure "k8s-node4": lookup k8s-node4 on 10.96.0.10:53: no such host
2019-10-20T10:23:06.364Z    WARN    transport/tcp.go:53 DNS lookup failure "k8s-node4": lookup k8s-node4 on 10.96.0.10:53: no such host
</code></pre>

DevOpsAddict
<p>Using helm3, enabling <strong>hostNetwork</strong> in values.yml solved the problem</p>
<pre><code>daemonset:
  enabled: true
  hostNetworking: true
</code></pre>
