-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpropertyoveride.json
44 lines (43 loc) · 1.07 KB
/
propertyoveride.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"apiVersion": "consul.hashicorp.com/v1alpha1",
"kind": "ServiceDefaults",
"metadata": {
"name": "public-api"
},
"spec": {
"protocol": "http",
"envoyExtensions": [
{
"name": "builtin/property-override",
"arguments": {
"proxyType": "connect-proxy",
"patches": [
{
"resourceFilter": {
"resourceType": "listener",
"trafficDirection": "inbound"
},
"op": "add",
"path": "/stat_prefix",
"value": "custom.stats.inbound"
},
{
"resourceFilter": {
"resourceType": "cluster",
"trafficDirection": "outbound",
"services": [
{
"name": "products-api"
}
]
},
"op": "add",
"path": "/upstream_connection_options/tcp_keepalive/keepalive_probes",
"value": 1234
}
]
}
}
]
}
}