2023-05-30 18:53:42 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2023-05-30 18:53:42 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"mostSpecificHeaderMutationsWins": true,
|
|
|
|
"name": "db",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2023-05-30 18:53:42 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2023-05-30 18:53:42 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "db",
|
|
|
|
"routes": [
|
2023-05-30 18:53:42 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2023-05-30 18:53:42 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"weightedClusters": {
|
|
|
|
"clusters": [
|
2023-05-30 18:53:42 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v1.db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"weight": 5000
|
2023-05-30 18:53:42 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "v2.db.default.dc2.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"weight": 5000
|
2023-05-30 18:53:42 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"totalWeight": 10000
|
2023-05-30 18:53:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2023-05-30 18:53:42 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2023-05-30 18:53:42 +00:00
|
|
|
}
|