Skip to content

Increase number of rules that can be set for rate limiting in backend traffic policy #5696

@vamen95

Description

@vamen95

Currently we can set only 64 rate-limit rules in backend traffic policy. And one HTTPRoute can only have one backend traffic policy currently,

This "64" rule limit is insufficient if the HTTPRoute is supporting request for many paths prefix and each path prefix need there own rate limits.

In our case we hade backend service called agent and it had around 17 path prefix like /health , /transport , /finance etc. each of this had 4 limit. (1. per day , per user limit, 2. per day , across user limit , 3. per min , per user limit
4. per min , across user limit. ) so I ended up having 84 limits and hit the issue.

[BackendTrafficPolicy.gateway.envoyproxy.io](http://backendtrafficpolicy.gateway.envoyproxy.io/) "agentic-route-btp" is invalid: [spec.rateLimit.global.rules: Too many: 84: must have at most 64 items.

please increase this limit
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions