2023-03-28 22:48:58 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2019-05-01 23:39:31 +00:00
|
|
|
services {
|
|
|
|
name = "s2"
|
|
|
|
port = 8181
|
|
|
|
connect {
|
|
|
|
sidecar_service {
|
|
|
|
proxy {
|
|
|
|
config {
|
|
|
|
# We need to override this because both proxies run in same network
|
|
|
|
# namespace and so it's non-deterministic which one manages to bind
|
|
|
|
# the 1234 port first. This forces the issue here while still testing
|
|
|
|
# that s1's proxy is configured from global config.
|
|
|
|
envoy_prometheus_bind_addr = "0.0.0.0:2345"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|