2bfad66efa
The main change is that we no longer filter service instances by health, preferring instead to render all results down into EDS endpoints in envoy and merely label the endpoints as HEALTHY or UNHEALTHY. When OnlyPassing is set to true we will force consul checks in a 'warning' state to render as UNHEALTHY in envoy. Fixes #6171
23 lines
225 B
HCL
23 lines
225 B
HCL
services {
|
|
id = "s2-v1"
|
|
name = "s2"
|
|
port = 8182
|
|
|
|
meta {
|
|
version = "v1"
|
|
}
|
|
|
|
checks = [
|
|
{
|
|
name = "main"
|
|
ttl = "30m"
|
|
},
|
|
]
|
|
|
|
connect {
|
|
sidecar_service {
|
|
port = 21011
|
|
}
|
|
}
|
|
}
|