Open enkelprifti98 opened 2 months ago
Describe the bug Starting with kube-vip version 0.8.2 there's an error in the logs that shows "invalid CIDR address" for the Elastic IP used via the Equinix Metal CCM. The service / IP is not reachable.
Version 0.8.0 and older work fine.
time="2024-08-08T03:43:34Z" level=error msg="[invalid CIDR address: 147.28.145.252/] error adding BGP host endpoints\n"
To Reproduce Steps to reproduce the behavior:
Deploy kubernetes cluster via kubeadm on Equinix Metal with CCM. Install kube-vip via the following commands:
alias kube-vip="docker run --network host --rm plndr/kube-vip:v0.8.2" kube-vip manifest daemonset --interface lo --services --bgp --annotations metal.equinix.com --inCluster | kubectl apply -f -
Expected behavior Kube-vip should be announcing the Elastic IP via BGP to its peers.
Environment (please complete the following information):
Try adding --cidr 32 to the manifest call and see if that works.
--cidr 32
@enkelprifti98 did the flag suggested by @cprivitere work? If so then the fix to this issue is docs.
Describe the bug Starting with kube-vip version 0.8.2 there's an error in the logs that shows "invalid CIDR address" for the Elastic IP used via the Equinix Metal CCM. The service / IP is not reachable.
Version 0.8.0 and older work fine.
To Reproduce Steps to reproduce the behavior:
Deploy kubernetes cluster via kubeadm on Equinix Metal with CCM. Install kube-vip via the following commands:
Expected behavior Kube-vip should be announcing the Elastic IP via BGP to its peers.
Environment (please complete the following information):