Avoid resolv.conf file loopback for Flatcar distro
Avoid resolv.conf file loopback for Flatcar distro

In Flatcar Container Linux versions at 2748.0 and later, configure the
kubelet to use an alternate DNS resolver configuration. Rather than
using the "/etc/resolv.conf" file, use systemd-resolved's
"/run/systemd/resolve/resolv.conf" file.

Without this configuration, pods like CoreDNS that use the "Default"
DNS policy wind up with a DNS forwarding loop.

Signed-off-by: Steven E. Harris <6ebec89f7c2d26e7a554675838404e580a73bb35@panix.com>

kubernetes/kops,kubernetes/kops,kubernetes/kops