2019-04-29 16:27:57 +00:00
|
|
|
services {
|
|
|
|
name = "s1"
|
|
|
|
port = 8080
|
|
|
|
connect {
|
|
|
|
sidecar_service {
|
|
|
|
proxy {
|
|
|
|
upstreams = [
|
|
|
|
{
|
|
|
|
destination_name = "s2"
|
|
|
|
local_bind_port = 5000
|
|
|
|
config {
|
|
|
|
protocol = "http"
|
2022-12-13 16:51:37 +00:00
|
|
|
passive_health_check {
|
|
|
|
interval = "22s"
|
|
|
|
}
|
2019-04-29 16:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
config {
|
|
|
|
protocol = "http"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|