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 opened on Apr 23, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
help wantedquestion

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

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" }] } ]

Contributor guide