-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
kube-vip 0.7.0 causes nodes to lose connection and interfaces would lose IPs #752
Comments
This is still observed with both 0.7.1 and 0.7.2, not sure if anything is changed... Essentially when I run these versions the whole cluster loses connection internally and etcd goes haywire trying to elect a new leader constantly |
Should be reopened @thebsdbox |
@Michaelpalacce you should not run cp_enable and svc_enable with the same daemonset when you disable the leader election when you use vip_arp. |
So enabling leader election would solve the problem? Will try it out. @Cellebyte if you can, can you please explain why this is a bad thing? |
This is what happens immediately: This is what I went for: image:
repository: ghcr.io/kube-vip/kube-vip
tag: "v0.7.2"
config:
address: "192.168.1.2"
env:
vip_interface: ""
vip_arp: "true"
lb_enable: "true"
lb_port: "6443"
vip_cidr: "32"
cp_enable: "true"
svc_enable: "true"
vip_leaderelection: "true" |
If you disable leader election and use the arp mode together with svc_enable. Kube-vip will announce an IP from every node. Which unfortunately does not work with arp. As it has no possibility for multiple endpoints being announced in the same layer2 network. |
I see, thank you for the explanation! However, there is still an issue it seems? |
@Michaelpalacce then please elaborate the issue :) |
I am writing this, with the full understanding that it's very vague. I was pretty much the whole day trying to debug what is happening and came to the realization that kube-vip was somehow causing k3s node eth0 interfaces to lose connection.
This lead to a bunch of other issues, of course. I don't have the necessary knowledge to figure out what exactly was happening, but outside of connection loss, this was causing entire network slowdowns, and it was also affecting other devices not connected to k3s at all (like my phone's Wi-Fi).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Create a virtual ip that I can use
Screenshots
Can't do this now... at this point, I redid my cluster and restored all my backups. I realize this is not helpful, still deciding to post this if anyone else finds this.
Environment (please complete the following information):
Kube-vip.yaml
:The text was updated successfully, but these errors were encountered: