https://rancher.com/ logo
Title
n

narrow-noon-75604

09/06/2022, 9:25 AM
Hi, I need recommendation for loadbalncers for the two use cases mentioned below. I have two sets of kubernetes(RKE2) clusters located in two different geographical locations. use case#1: One of the clusters act as an Active cluster and the other as a Standby cluster. Now I need a recommendation for loadbalancer before these two clusters to route the traffic always to the Active cluster. If the control nodes of the Active cluster fail then the Standby cluster should be elected as Active cluster and the traffic should route to the newly elected Active cluster. use case#2: Both the clusters act as Active clusters. Here I need another recommendation for a loadbalancer to route the traffic to the cluster that responds quicker than the other.
a

ambitious-motherboard-40337

09/06/2022, 10:12 AM
you can use route53 to achieve both create an alb in each cluster and in the route53 create failover records (two identical FQDM), set one as primary and the other as secondary on he active active problem (with GEO location) use route policy of geolocation you can also use the latency policy
n

narrow-noon-75604

09/06/2022, 10:19 AM
Thanks @ambitious-motherboard-40337 for the recommendation. I have created both the kubernetes clusters on on-premise Openstack and VMWare machines. So please share me some on-premise solutions.
a

ambitious-motherboard-40337

09/06/2022, 10:28 AM
OK that is a bit more complex
i know you can use MetalLB for the lb but the latency and fallback i don’t know any on-prem alternatives
n

narrow-noon-75604

09/06/2022, 10:47 AM
Thanks @ambitious-motherboard-40337..I will investigate if MetalLB supports that on premise