consul/test/integration/connect/envoy/case-expose-checks/service_s2.hcl

26 lines
395 B
HCL
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
services {
name = "s2"
port = 8181
connect {
sidecar_service {
proxy {
expose {
checks = true
}
}
}
}
checks = [
{
name = "http"
http = "http://127.0.0.1:8181/debug"
method = "GET"
interval = "10s"
timeout = "1s"
},
]
}