kubelet.service not waiting for network-online.target #1248
Labels
area/release-eng
Issues or PRs related to the Release Engineering subproject
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
sig/release
Categorizes an issue or PR as relevant to SIG Release.
Whenever kubeadm detects a system that has
systemd-resolved
running, it would provision the kubelet on the local node with a resolv.conf overwrite -/run/systemd/resolve/resolv.conf
.However, some kubeadm users have discovered an issue during system boot. The kubelet can end up in a race with the
systemd-resolved
service and actually startup loads with empty or incorrect resolve.conf files.The race is caused by the fact that the
kubelet.service
file does not indicate dependence on thenetwork-online.target
.xref kubernetes/kubeadm#2111
/kind bug
/assign
The text was updated successfully, but these errors were encountered: