Can consul discover services across data-centers without using mesh gateway?

20 views
Skip to first unread message

Manish Kumar

unread,
May 14, 2020, 12:40:26 PM5/14/20
to Consul
Can I register two services ( let's say  SVC-A  and SVC-B ) in two different data-centers ( let's say DC1 and DC2 ), and if SVC-A  has an upstream dependency on SVC-B,

can the sidecar proxy of SVC-A, discover SVC-B, if I configure the upstream definition as 

{
  "destination_type": "SVC-B",
  "datacenter": "DC-2"
}


Regards,
Manish

Reply all
Reply to author
Forward
0 new messages