Do not set MasterConfiguration.API.AdvertiseAddress. If not set, kubeadm will choose the host IP with the default route. The liveness probe will use this IP.
Set MasterConfiguration.API.ControlPlaneEndpoint to the VIP.
Add the VIP to MasterConfiguration.APIServerCertSANs. This is required for API servers to receive HTTPS requests via the VIP.
MasterConfiguration.API.AdvertiseAddress
. If not set, kubeadm will choose the host IP with the default route. The liveness probe will use this IP.MasterConfiguration.API.ControlPlaneEndpoint
to the VIP.MasterConfiguration.APIServerCertSANs
. This is required for API servers to receive HTTPS requests via the VIP.