2020-04-14 21:30:00 +00:00
|
|
|
{
|
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"@type": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
2020-04-16 23:24:11 +00:00
|
|
|
"name": "http_9191",
|
2020-04-14 21:30:00 +00:00
|
|
|
"virtualHosts": [
|
|
|
|
{
|
|
|
|
"name": "db",
|
|
|
|
"domains": [
|
|
|
|
"*"
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"path": "/fgrpc.PingServer/Ping"
|
|
|
|
},
|
|
|
|
"route": {
|
|
|
|
"cluster": "prefix.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
|
|
|
},
|
|
|
|
"route": {
|
|
|
|
"cluster": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"validateClusters": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeUrl": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
|
|
|
|
"nonce": "00000001"
|
|
|
|
}
|