Load balancer behavior across multiple DCs

I’m hoping to set up a Rancher environment spanning ~20 Microsoft Azure datacenters, all managed from a single Rancher Server.

Requests may be routed to a specific datacenter using a DNS prefix, e.g. northeu-analytics.cloudlens.io would route specifically to the North Europe datacenter (using Azure Traffic Manager).

So my question is, does the rancher/load-balancer-service on a particular Host always route requests internally to services running on that host, or could it randomly route to any analytics container across the entire multi-DC cluster?

1 Like

The balancer send traffic round-robin to all the containers of the target service(s). There is no preference for the same host or datacenter today.

Ah, that’s a shame. I’ll raise an issue on GitHub… https://github.com/rancher/rancher/issues/2914

1 Like