Skip to content

Add shadow_mode field to RateLimitRule #6786

@rationalex

Description

@rationalex

Description:

Add shadowMode to RateLimitRule in EnvoyGateway’s RateLimit API (e.g., BackendTrafficPolicy.spec.rateLimit.global.rules[].shadowMode).
When shadowMode: true, the rule is evaluated and reported but never enforces 429. EnvoyGateway should translate this directly to envoyproxy/ratelimit’s per-descriptor shadow_mode. This enables safe dry-runs and tuning before turning limits on.

Relevant Links:

https://github.com/envoyproxy/ratelimit#shadowmode

Metadata

Metadata

Assignees

Labels

area/apiAPI-related issueshelp wantedExtra attention is needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions