-
Notifications
You must be signed in to change notification settings - Fork 715
Increase number of rules that can be set for rate limiting in backend traffic policy #5696
Description
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