mirror of https://github.com/status-im/consul.git
101 lines
3.2 KiB
Plaintext
101 lines
3.2 KiB
Plaintext
{
|
|
"versionInfo": "00000001",
|
|
"resources": [
|
|
{
|
|
"@type": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
|
"name": "9191",
|
|
"virtualHosts": [
|
|
{
|
|
"name": "db",
|
|
"domains": [
|
|
"db.ingress.*",
|
|
"db.ingress.*:9191"
|
|
],
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"route": {
|
|
"weightedClusters": {
|
|
"clusters": [
|
|
{
|
|
"name": "big-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"weight": 9550,
|
|
"requestHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "big"
|
|
},
|
|
"append": false
|
|
}
|
|
],
|
|
"responseHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "big"
|
|
},
|
|
"append": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "goldilocks-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"weight": 400,
|
|
"requestHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "goldilocks"
|
|
},
|
|
"append": false
|
|
}
|
|
],
|
|
"responseHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "goldilocks"
|
|
},
|
|
"append": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "lil-bit-side.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"weight": 50,
|
|
"requestHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "small"
|
|
},
|
|
"append": false
|
|
}
|
|
],
|
|
"responseHeadersToAdd": [
|
|
{
|
|
"header": {
|
|
"key": "x-split-leg",
|
|
"value": "small"
|
|
},
|
|
"append": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"totalWeight": 10000
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"validateClusters": true
|
|
}
|
|
],
|
|
"typeUrl": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
|
"nonce": "00000001"
|
|
} |