Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to empty resolv-conf kubelet arg in agent config #627

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

TylerHendrickson
Copy link
Contributor

Figured I'd submit a diff for the changes asked about here https://discord.com/channels/673534664354430999/740607531466096640/1071641086889562132

This change sets the K3s Agent kubelet-arg config setting to an empty value, which prevents K3s from using the /etc/resolv.conf file on the host to seed the same file in pods. In my case, I wanted to avoid search domains from my cluster nodes' resolv.conf files making their way into my pods.

@onedr0p onedr0p merged commit 14e7f9f into onedr0p:main Feb 5, 2023
onedr0p added a commit that referenced this pull request Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants