简体   繁体   English

如何设置Traefik入口控制器的速率限制?

[英]How to set rate limit for Traefik Ingress Controller?

In version 1.5, Traefik just implemented Rate limiting feature https://github.com/containous/traefik/pull/2034 在1.5版中,Traefik刚刚实现了速率限制功能https://github.com/containous/traefik/pull/2034

But I don't know how to use this in Traefik Ingress Controller. 但是我不知道如何在Traefik Ingress Controller中使用它。 Is there any way to set Rate limit by using Annotations? 有什么方法可以通过注释来设置速率限制?

Thanks. 谢谢。

For now, you cannot define rate limit with annotations. 目前,您无法使用注释定义速率限制。 This feature come in v1.6: https://github.com/containous/traefik/pull/2612 v1.6中提供了此功能: https : //github.com/containous/traefik/pull/2612

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM