RKE2/baremetal: chicken vs egg issue around VIP availability

@rletrocquer has uncovered a 🐔/🥚 issue today when deploying RKE2 on baremetal:

  • we need to use registrationAddress because we had multiple NICs
  • we point registrationAddress to the cluster VIP
  • the VIP isn't available until MetalLB is ready
  • MetalLB needs Calico to be ready (tigera operator)
  • both Calico and MetaLB need to talk to k8s API
  • k8s API is also set to be the VIP... which isn't available until MetalLB is ready
Edited by Thomas Morin