-
Notifications
You must be signed in to change notification settings - Fork 716
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
Move resolve.conf setting to Kubelet config file #2162
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Comments
hello, this seems already resolved by: xref #2111 /kind feature |
^ also note for 1.18 we have "action required" for users to manually remove the flag from existing files. |
Doesn't appear to be. This is the result of a fresh 1.18 install.
|
@NeilW the fix will be in 1.19 and we cannot backport to 1.18. |
ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
BUG REPORT
Versions
kubeadm version (use
kubeadm version
):Environment:
kubectl version
):Brightbox
Ubuntu 20.04
uname -a
):inux srv-c3x7t 5.4.0-33-generic discuss the meaning of kubeadm init --api-advertise-addresses #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
What happened?
kubelet is logging a deprecation error on both the control plane and the worker nodes
Flag --resolv-conf has been deprecated, This parameter should be set via the config file
What you expected to happen?
The "resolvConf" entry in the KubeletConfiguration should be set to the correct value and the flag removed from /var/lib/kubelet/kubeadm-flags.env
How to reproduce it (as minimally and precisely as possible)?
Install k8s master node using kubeadm, add in a worker using kubeadm join.
Anything else we need to know?
Upgraded kubelet files from 1.16.X have a
resolvConf: /etc/resolv.conf
entry in the config file, which is currently overridden by the command line flag. Upgrades may be doing things differently from installs.The text was updated successfully, but these errors were encountered: