fix(systemd/network): exclude node* and kube* from dhcp by default#89
Merged
pothos merged 1 commit intoflatcar:flatcar-masterfrom Feb 20, 2023
Merged
Conversation
Contributor
Author
a664125 to
939b1ce
Compare
pothos
reviewed
Feb 16, 2023
pothos
reviewed
Feb 16, 2023
939b1ce to
a46a2d0
Compare
pothos
reviewed
Feb 20, 2023
pothos
reviewed
Feb 20, 2023
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
a46a2d0 to
f7a1eef
Compare
pothos
approved these changes
Feb 20, 2023
Member
|
Thanks |
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Feb 20, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
2 tasks
Member
|
I actually had excluded |
Member
|
Ah, |
Member
|
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 |
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Feb 21, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Feb 21, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Feb 21, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
t-lo
pushed a commit
to flatcar/scripts
that referenced
this pull request
Apr 13, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
t-lo
pushed a commit
to flatcar/scripts
that referenced
this pull request
Apr 17, 2023
This pulls in flatcar/init#89 to set the Kubernetes interfaces nodelocaldns and kube-ipvs0 as Unmanaged in networkd to prevent configuration conflicts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[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 containernodelocaldnscreates a dummy interface callednodelocaldnsby default andsystemd-networkdmanages it with the default filezz-default.networkthat adds DHCP and IPV6RA support.So when
nodelocaldnstries 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-networkdandnodelocaldns)How to use
Check that the interfaces created by
kube-proxyandnodelocaldnsare not managed bysystemd-networkdwith the commandnetworkctl.Check that
kubeadm joinproperly works so the node can join the cluster by setting its defaultnodelocaldnsinterface to the IPs defined with-localipin thenode-cachecontainer.Testing done
Checked that everything in
How to useworks