2019-07-12 19:16:21 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
2021-02-26 22:23:15 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2019-07-12 19:16:21 +00:00
|
|
|
"name": "db",
|
|
|
|
"virtualHosts": [
|
|
|
|
{
|
|
|
|
"name": "db",
|
|
|
|
"domains": [
|
|
|
|
"*"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
|
|
|
"weightedClusters": {
|
|
|
|
"clusters": [
|
|
|
|
{
|
|
|
|
"name": "big-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2021-07-13 18:49:14 +00:00
|
|
|
"weight": 9550,
|
|
|
|
"requestHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "big"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responseHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "big"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
]
|
2019-07-12 19:16:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "goldilocks-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2021-07-13 18:49:14 +00:00
|
|
|
"weight": 400,
|
|
|
|
"requestHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "goldilocks"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responseHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "goldilocks"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
]
|
2019-07-12 19:16:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "lil-bit-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
2021-07-13 18:49:14 +00:00
|
|
|
"weight": 50,
|
|
|
|
"requestHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "small"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responseHeadersToAdd": [
|
|
|
|
{
|
|
|
|
"header": {
|
|
|
|
"key": "x-split-leg",
|
|
|
|
"value": "small"
|
|
|
|
},
|
|
|
|
"append": false
|
|
|
|
}
|
|
|
|
]
|
2019-07-12 19:16:21 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"totalWeight": 10000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"validateClusters": true
|
|
|
|
}
|
|
|
|
],
|
2021-02-26 22:23:15 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
2019-07-12 19:16:21 +00:00
|
|
|
"nonce": "00000001"
|
|
|
|
}
|