2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "db",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2023-08-03 19:03:02 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "db",
|
|
|
|
"routes": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2023-08-03 19:03:02 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"weightedClusters": {
|
|
|
|
"clusters": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "big-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"requestHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "big"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"responseHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "big"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"weight": 10000
|
2023-08-03 19:03:02 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "goldilocks-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"requestHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "goldilocks"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"responseHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "goldilocks"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"weight": 10000
|
2023-08-03 19:03:02 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "lil-bit-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"requestHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "small"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"responseHeadersToAdd": [
|
2023-08-03 19:03:02 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"append": false,
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "small"
|
|
|
|
}
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
],
|
|
|
|
"weight": 10000
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2023-08-03 19:03:02 +00:00
|
|
|
}
|