NAME

IO::K8s::Traefik::V1alpha1::RateLimit - RateLimit holds the rate limit configuration.

VERSION

version 1.108

average

Average is the maximum rate, by default in requests/s, allowed for the given source. It defaults to 0, which means no rate limiting. The rate is actually defined by dividing Average by Period. So for a rate below 1req/s, one needs to define a Period larger than a second.

burst

Burst is the maximum number of requests allowed to arrive in the same arbitrarily small period of time. It defaults to 1.

period

Period, in combination with Average, defines the actual maximum rate, such as: r = Average / Period. It defaults to a second.

redis

Redis hold the configs of Redis as bucket in rate limiter.

sourceCriterion

SourceCriterion defines what criterion is used to group requests as originating from a common source. If several strategies are defined at the same time, an error will be raised. If none are set, the default is to use the request's remote address field (as an ipStrategy).

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004