Skip to content
Snippets Groups Projects
Commit 503a17bd authored by David José Araújo Ferreira's avatar David José Araújo Ferreira
Browse files

Added rate limiting to ingress controller

parent 908b88b4
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!226Resolve "Testing configurations for DDOS protection"
......@@ -18,6 +18,11 @@ metadata:
name: tfs-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/limit-rps: '2'
nginx.ingress.kubernetes.io/limit-connections: '5'
nginx.ingress.kubernetes.io/proxy-connect-timeout: '10'
nginx.ingress.kubernetes.io/proxy-send-timeout: '10'
nginx.ingress.kubernetes.io/proxy-read-timeout: '10'
spec:
rules:
- http:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment