mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 06:44:41 +00:00
aa8268e50c
implement cluster peering redirects
21 lines
340 B
HCL
21 lines
340 B
HCL
services {
|
|
name = "s1"
|
|
port = 8080
|
|
connect {
|
|
sidecar_service {
|
|
proxy {
|
|
upstreams = [
|
|
{
|
|
destination_name = "s2"
|
|
local_bind_port = 5000
|
|
},
|
|
{
|
|
destination_name = "virtual-s2"
|
|
local_bind_port = 5001
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|