Skip to content

Switch calico autodetection method to NodeInternalIP for kubeadm

Francois Eleouet requested to merge fe/change-kubeadm-calico-autodetection into main

What does this MR do and why?

Switch calico autodetection method to NodeInternalIP for kubeadm

Using cluster virtual IP rechability was causing issues as calico node could bind the VIP instead of the interface IP (see related issue):

2024-06-24 22:09:29.422 [INFO][9] startup/startup.go 409: Clearing out-of-date IPv4 address from this node IP="192.168.129.210/32"
2024-06-24 22:09:29.430 [WARNING][9] startup/utils.go 48: Terminating
Calico node failed to start

This is not required for rke2, as we are using mettallb that is not adding the VIP address to the interface, but just replying to ARP requests.

Closes: #1385 (closed)

Edited by Francois Eleouet

Merge request reports