envoyproxy/envoy

Envoy 1.12 update Lds will not send a request to get the route defined in the scope, nor report an error, the request will report no_route 404

Open

#10.913 aperta il 23 apr 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
help wantedquestion

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

image

ScopeRoute Config: image

RouteConfig: image

RawRouteConfig: [{ "name": "local_route_443", "virtual_hosts": [{ "routes": [{ "route": { "cluster": "serviceA" }, "match": { "path": "/service/1" } }, { "match": { "path": "/service/2" }, "route": { "cluster": "serviceB" } }, { "match": { "path": "/service/3" }, "route": { "weighted_clusters": { "clusters": [{ "name": "serviceA", "weight": 10 }, { "name": "serviceB", "weight": 90 }], "runtime_key_prefix": "weighted_clusters_healthy", "total_weight": 100 } } } ], "domains": [ "*" ], "name": "local_route_443" }] }, { "name": "local_route_80", "virtual_hosts": [{ "routes": [{ "route": { "cluster": "serviceA" }, "match": { "path": "/service/1" } }, { "match": { "path": "/service/2" }, "route": { "cluster": "serviceB" } }, { "match": { "path": "/service/3" }, "route": { "weighted_clusters": { "clusters": [{ "name": "serviceA", "weight": 10 }, { "name": "serviceB", "weight": 90 }], "runtime_key_prefix": "weighted_clusters_healthy", "total_weight": 100 } } } ], "domains": [ "*" ], "name": "local_route_80" }] }, { "name": "route-config1", "virtual_hosts": [{ "routes": [{ "route": { "cluster": "serviceA" }, "match": { "path": "/service/1" } }], "domains": [ "*" ], "name": "route-config1" }] }, { "name": "route-config2", "virtual_hosts": [{ "routes": [{ "match": { "path": "/service/2" }, "route": { "cluster": "serviceB" } }], "domains": [ "*" ], "name": "route-config2" }] } ]

Guida contributor