Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add "resolv-conf" flag to Kubelet for CoreDNS #395
Conversation
For systemd-resolvd based systems, core-DNS will fail to start. Using moby/libnetwork, we can detect that, and point kubelet to the real DNS config file. Signed-off-by: Karen Almog <kalmog@mirantis.com>
Signed-off-by: Karen Almog <kalmog@mirantis.com>
|
Tested it with multipass and it worked out of the box. LGTM |


Issue
Fixes #390
What this PR Includes
This PR removes the need for "hacking" the
resolv.conffile in systemd-resolvd systems, by finding out the "real" resolv.conf file and passing it as the value for the--resolv-confflag in kubelet.e2e✅
https://github.com/k0sproject/k0s/actions/runs/361469902