i like to add outlier_detection configuration in mesh-gateway cluster
when i check envoy admin “cluster” of mesh-gateway
"dynamic_active_clusters": [
{
"version_info": "...",
"cluster": {
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
"name": "echo-p1-hc.default.p1.internal......consul",
"type": "EDS",
"eds_cluster_config": {
"eds_config": {
"ads": {},
"resource_api_version": "V3"
}
},
"connect_timeout": "5s",
"outlier_detection": {}
},
"last_updated": "2024-02-15T08:21:49.649Z"
}
]
it has outlier_detection configuration , but empty
i want to add interval and max_failures
so, i made service default
{
"Kind": "service-defaults",
"Name": "gateway-p1",
"Protocol": "http",
"UpstreamConfig": {
"Defaults": {
"MeshGateway": {
"mode": "local"
},
"PassiveHealthCheck": {
"interval": "3s",
"max_failures": "1"
}
},
"Overrides": [
{
"Name": "echo-p1-hc",
"PassiveHealthCheck": {
"interval": "4s",
"max_failures": "1"
},
"MeshGateway": {
"mode": "local"
}
}
]
}
}
But, it was not working
so i tried other version
{
"kind": "service-defaults",
"name": "gateway-p1",
"protocol": "http",
"EnvoyExtensions": [{
"name": "builtin/property-override",
"arguments": {
"debug": true,
"proxyType": "connect-proxy",
"patches": [{
"resourceFilter": {
"resourceType": "cluster",
"trafficDirection": "outbound",
"services": [{ "name": "echo-p1-hc" }]
},
"op": "add",
"path": "/outlier_detection/interval/seconds",
"value": 3
}]
}
}]
}
this in still not working
is there any way to add outlier_detection in mesh-gateway cluster ?