Skip to content
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

Kilo not assigning the same wireguard ip to the nodes in the same mesh? #393

Open
Jonathan-Eid opened this issue Sep 25, 2024 · 0 comments

Comments

@Jonathan-Eid
Copy link

One of my three master nodes was assigned the wrong wireguard Ip, causing it not to be able to route traffic to the other nodes in a different mesh.

master-cluster-vm1:~# k exec -n kube-system kilo-cwt7n -- ifconfig kilo0
Defaulted container "kilo" out of: kilo, install-cni (init)
kilo0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.4.0.2 P-t-P:10.4.0.2 Mask:255.255.0.0
UP POINTOPOINT RUNNING NOARP MTU:1420 Metric:1
RX packets:44223648 errors:137 dropped:0 overruns:0 frame:137
TX packets:54593394 errors:0 dropped:226 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19625855884 (18.2 GiB) TX bytes:47534617840 (44.2 GiB)

master-cluster-vm2:~# k exec -n kube-system kilo-cw4m2 -- ifconfig kilo0
Defaulted container "kilo" out of: kilo, install-cni (init)
kilo0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.4.0.2 P-t-P:10.4.0.2 Mask:255.255.0.0
POINTOPOINT NOARP MTU:1420 Metric:1
RX packets:572 errors:0 dropped:0 overruns:0 frame:0
TX packets:739 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155392 (151.7 KiB) TX bytes:679140 (663.2 KiB

master-cluster-vm3~# k exec -n kube-system kilo-s9g9b -- ifconfig kilo0
Defaulted container "kilo" out of: kilo, install-cni (init)
kilo0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.4.0.1 P-t-P:10.4.0.1 Mask:255.255.0.0
POINTOPOINT NOARP MTU:1420 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Why does Master 3 have a different ip assigned when all three masters have the same location annotation?
kilo.squat.ai/location: gcp ?

Manually changing the ip of the kilo0 interface on master 3 solved my issue, but how come I had to manually change it in the first place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant