Policies · Legacy policies
RateLimit
Legacy local HTTP rate limit enforced on a destination's inbound.
Behaviour per target
Output: MeshRateLimit
Inbound policy: destinations → spec.targetRef, conf → rules[].default.
http.requests + http.interval → local.http.requestRate.{num,interval};
http.onRateLimit.* → local.http.onRateLimit.*. Header names are lower-cased, with a
warning (the new schema accepts lower-case names only).
The output uses rules[], not from[]. A specific sources selector cannot be kept:
the limit then applies to every client of the inbound, and a warning says so.
Output: MeshRateLimit
Same as v2, with labels-only top-level references. The source object is listed for deletion.
Timeline
| Version | Change |
|---|---|
| 3.0 | Removed from the resource registry. |
Related topics
- Legacy policies — The twelve source/destination policies Kuma 3.0 removes, how kuma-migrator maps their selectors and conf to the Mesh* successors, and the two it leaves to you.
- Policy targeting — Which targetRef kinds each policy accepts at each position on 2.14 and 3.0, labels-only selection, policy roles, and control-plane-owned labels.