Policies · Legacy policies

RateLimit

Legacy local HTTP rate limit enforced on a destination's inbound.

Kuma

Behaviour per target

--to-latest v2 (2.x) converted

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.

--to-latest v3 (3.0) converted

Output: MeshRateLimit

Same as v2, with labels-only top-level references. The source object is listed for deletion.

Timeline

VersionChange
3.0Removed from the resource registry.

Source files