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?

貢獻者指南