mirror of https://github.com/hashicorp/consul
23 lines
375 B
HCL
23 lines
375 B
HCL
|
services {
|
||
|
name = "s1"
|
||
|
port = 8080
|
||
|
checks = []
|
||
|
connect {
|
||
|
sidecar_service {
|
||
|
checks = []
|
||
|
proxy {
|
||
|
upstreams = [
|
||
|
{
|
||
|
destination_name = "split-s2"
|
||
|
local_bind_port = 5000
|
||
|
},
|
||
|
{
|
||
|
destination_name = "peer-s2"
|
||
|
local_bind_port = 5001
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|