e060748d3f
Additionally: - wait for bootstrap config entries to be applied - run the verify container in the host's PID namespace so we can kill envoys without mounting the docker socket * assert that we actually send HEALTHY and UNHEALTHY endpoints down in EDS during failover
40 lines
565 B
HCL
40 lines
565 B
HCL
enable_central_service_config = true
|
|
|
|
config_entries {
|
|
bootstrap {
|
|
kind = "proxy-defaults"
|
|
name = "global"
|
|
|
|
config {
|
|
protocol = "http"
|
|
}
|
|
}
|
|
|
|
bootstrap {
|
|
kind = "service-resolver"
|
|
name = "s3"
|
|
|
|
subsets = {
|
|
"v1" = {
|
|
filter = "Service.Meta.version == v1"
|
|
}
|
|
|
|
"v2" = {
|
|
filter = "Service.Meta.version == v2"
|
|
}
|
|
}
|
|
}
|
|
|
|
bootstrap {
|
|
kind = "service-resolver"
|
|
name = "s2"
|
|
|
|
failover = {
|
|
"*" = {
|
|
service = "s3"
|
|
service_subset = "v1"
|
|
}
|
|
}
|
|
}
|
|
}
|