kops/util/pkg/distributions
Steven E. Harris 9300ac1ad5
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 <seh@panix.com>
2022-05-08 06:58:50 -04:00
..
tests Add support for Rocky Linux 8 2022-04-26 12:23:14 +03:00
distributions.go Avoid resolv.conf file loopback for Flatcar distro 2022-05-08 06:58:50 -04:00
identify.go Add support for Rocky Linux 8 2022-04-26 12:23:14 +03:00
identify_test.go Add support for Rocky Linux 8 2022-04-26 12:23:14 +03:00