envoyproxy/envoy

router check tool: configure runtime flags

Open

#35,174 创建于 2024年7月12日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)C++ (5,373 fork)batch import
area/route_check_toolenhancementhelp wanted

仓库指标

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

描述

Title: Load runtime flags in router check tool

Description:

We should be able to configure the router check tool with runtime flags as it can influence routing decision/validation.

Use case:

My goal is to make the tool useful with Istio configuration, Istio uses some runtime flags which if not set limits the use of router check tool quite a bit, especially as we have large regex matching routes and the default value of re2.max_program_size.error_level is 100.

My ugly workaround is patching the tool overriding this runtime for my use case.

I see other issues (https://github.com/envoyproxy/envoy/issues/12393, https://github.com/envoyproxy/envoy/issues/13065) that would also benefit from reading the whole envoy configuration instead of just http routes. Would this be the way to go?

贡献者指南