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

packages: Update kubelet config resolvConf setting for k8s 1.28 #3395

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

zmrow
Copy link
Contributor

@zmrow zmrow commented Aug 31, 2023

Issue number:
Related to #2449 and #3394

Description of changes:

This commit changes the kubelet config's resolveConf setting to point
to the common path /run/netdog/resolv.conf. This path is symlinked to the "real" resolv.conf depending on the network backend being used.

Testing done:

  • Build and run the image and confirm the kubelet config is correct
bash-5.1# cat /etc/kubernetes/kubelet/config | grep resolv    
resolvConf: "/run/netdog/resolv.conf"

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

This commit changes the kubelet config's `resolveConf` setting to point
at the common path `/run/netdog/resolv.conf`.  This path is symlinked to
the "real" resolv.conf depending on the network backend being used.
@zmrow zmrow merged commit 834c32e into bottlerocket-os:develop Aug 31, 2023
34 of 48 checks passed
@zmrow zmrow deleted the 1.28-kubelet-resolveConf branch August 31, 2023 21:08
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.

4 participants