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
26 lines
337 B
HCL
26 lines
337 B
HCL
enable_central_service_config = true
|
|
|
|
config_entries {
|
|
bootstrap {
|
|
kind = "proxy-defaults"
|
|
name = "global"
|
|
|
|
config {
|
|
protocol = "http"
|
|
}
|
|
}
|
|
|
|
bootstrap {
|
|
kind = "service-resolver"
|
|
name = "s2"
|
|
|
|
default_subset = "test"
|
|
|
|
subsets = {
|
|
"test" = {
|
|
only_passing = true
|
|
}
|
|
}
|
|
}
|
|
}
|