mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/kube-vip/kube-vip.git
synced 2026-09-20 08:03:47 +08:00
In BGP mode without leader election, every kube-vip instance announces the same VIP. ECMP distributes traffic evenly, but if a node's kube-apiserver goes down, kube-vip (a static pod tied to kubelet) keeps advertising the route — sending a fraction of all API traffic into a black hole. An optional health check loop now polls the local kube-apiserver and withdraws the BGP route after a configurable number of consecutive failures, removing the dead node from the ECMP set. The route is re-announced once the API server recovers. Signed-off-by: Guillermo Gaston <ggastonloren@nvidia.com>