I have a two DCs with few services running in each DC on independent nodes. This is a VM based setup.
I have enabled transparent proxy on both the DCs. I am able to get things working with service1.virtual.consul being able to direct the traffic to correct “service1” within DC.
Now, I want to connect two DCs using WAN federation. I have done that but I am unable to find any relevant documentation that could guide as to how does it work along with transparent proxy.
My questions are
- Is transparent proxy supported across DCs? As in, can service 1 of DC1 be accessed as service1.virtual.consul from a service in DC2?
- If two DCs have a service registered by same name, when service.virtual.consul is hit, which service will be picked out of DC1 or DC2?