-
Notifications
You must be signed in to change notification settings - Fork 21
fix(systemd/network): exclude node* and kube* from dhcp by default #89
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
Conversation
a664125
to
939b1ce
Compare
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
Thanks |
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
I actually had excluded |
Ah, |
Fix prepared in #90 We can still keep your changes, we also have this for other similar cases and these are probably the ones we would backport. I still would love to see Kubernetes to provide the unit itself in |
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
[systemd/network: exclude node* and kube* from dhcp by default]
Currently, when using
kubeadm join
, it says that the command works but sometimes it fails because the containernodelocaldns
creates a dummy interface callednodelocaldns
by default andsystemd-networkd
manages it with the default filezz-default.network
that adds DHCP and IPV6RA support.So when
nodelocaldns
tries to do an equivalent ofip addr add
, the command works but it will silently fail because the interface is managed by two different programs (systemd-networkd
andnodelocaldns
)How to use
Check that the interfaces created by
kube-proxy
andnodelocaldns
are not managed bysystemd-networkd
with the commandnetworkctl
.Check that
kubeadm join
properly works so the node can join the cluster by setting its defaultnodelocaldns
interface to the IPs defined with-localip
in thenode-cache
container.Testing done
Checked that everything in
How to use
works