Hi @cjratt,
Consul service-resolvers provide the ability to redirect traffic destined to a service within a given data center to instances of the same or different service in a remote data center.
Here’s an example of creating a virtual service which redirects to a service in a secondary DC.
Kind = "service-resolver"
Name = "web-dc2"
Redirect {
Service = "web"
Datacenter = "dc2"
}
You can also define failover policies which will redirect traffic to a list of remote DCs if there are no available instances in the source DC.
Kind = "service-resolver"
Name = "web"
ConnectTimeout = "15s"
Failover = {
"*" = {
Datacenters = ["dc3", "dc4"]
}
}
Today you must explicitly configure applications to talk to the local proxy port. We are looking at adding transparent proxy support in the next release or two of Consul. I recommend keeping an eye on this GitHub issue for updates this feature request https://github.com/hashicorp/consul-k8s/issues/23.
I hope this is helpful. Let me know if I can provide any additional info.