-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extend p2p functionality to k0s #691
Conversation
d6c2832
to
c62b634
Compare
b8c947e
to
4650dd8
Compare
fixes kairos-io/kairos#3151 |
debugging p2p auto since there's an issue with pods not starting properly because they cannot contact the controller node |
Issue that was causing the failed pods has been fixed now. It's also properly setting the edgvpn IP instead of the local IP. I still need to test this on different networks though and see if the nods can talk to each other via edgevpn |
@jimmykarily ok addressed the things I wanted to get fixed, if you have some time please have a look |
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com> Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
fixes kairos-io/kairos#3151 |
I tested again and it works locally with 2 VMs created with virt-manager. |
Adds support for mesh network with k0s distro. The detection of the distro is done by either having explicit config or by the binary installed. By default, it uses k3s, for backwards compatibility.
Additionally, I refactored to split responsibilities.
master.go
will have generic logic on how the steps to setup a master node, andworker.go
a worker node. It does so by interacting with theK8sNode
interface, and the detailed logic on how to do it for each distribution has been moved tok3s.go
andk0s.go
respectively. This should make it much simpler to debug or add new distributions.Tests:
Covered: