Initial rate limit middleware

This commit is contained in:
erik 2024-01-16 15:18:18 +01:00
parent 5992a6dac6
commit 1ed850aea2

View file

@ -0,0 +1,10 @@
# Here, an average of 100 requests per second is allowed.
# In addition, a burst of 50 requests is allowed.
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: ratelimit
spec:
rateLimit: # ToDo: Config options for rate limiting: https://doc.traefik.io/traefik/middlewares/http/ratelimit/
average: 100
burst: 50