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 创建于 2020年4月23日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
help wantedquestion

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

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

贡献者指南