try ratelimit
This commit is contained in:
@@ -72,3 +72,19 @@ resource "kubernetes_manifest" "letsencrypt_prod" {
|
||||
}
|
||||
}
|
||||
}
|
||||
resource "kubernetes_manifest" "traefik_Middleware_ratelimit" {
|
||||
manifest = {
|
||||
"apiVersion" = "traefik.containo.us/v1alpha1"
|
||||
"kind" = "Middleware"
|
||||
"metadata" = {
|
||||
"name" = "ratelimit"
|
||||
}
|
||||
"spec" = {
|
||||
"rateLimit" = {
|
||||
"average" = "100"
|
||||
"burst" = 50
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user