1services {
2  name = "s1"
3  port = 8080
4  connect {
5    sidecar_service {
6      proxy {
7        upstreams = [
8          {
9            destination_name = "s2"
10            local_bind_port = 5000
11            config {
12              protocol = "http"
13            }
14          }
15        ]
16        config {
17          protocol = "http"
18          envoy_stats_bind_addr = "0.0.0.0:1239"
19        }
20      }
21    }
22  }
23}
24