Support for Virtual IP advertisement from VM level #8395
Unanswered
ganesh-karthick
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@ganesh-karthick sorry for the delay! Right now, there's no way to specify a static route explicitly for Calico to advertise. However, Calico does read routes from the host and will export any routes it learns from the host that belong to a Calico IP pool. One thing you can try is to create an IP pool that encompasses the Virtual IPs that you would like exported - Calico should then export those routes from the host's that own the IPs. You will want to make sure that the IP pool is marked as "disabled" to make sure that Calico doesn't attempt to assign pod IPs from that pool. For example: kind: IPPool
apiVersion: projectcalico.org/v3
metadata:
name: virtual-ip-range
spec:
disabled: true
cidr: X.X.X.X |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Based on documentation, I see calico has support for advertising IP's from service(external/cluster), LB oriented services . However, I have a need to advertise a Virtual IP on specific interfaces at a VM level which is running kubernetes. The Virtual IP is maintained via VRRP outside of kube system. Is there any way to ask to calico to advertise specific IP provided it exists on a VM in an interface via BGP , kind of like static routes in BGP. I could do this natively via Bird, was wondering if there is equivalent in calico
Example bird syntax
Beta Was this translation helpful? Give feedback.
All reactions