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

Added rate limiting to ingress controller

parent db211928
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,12 @@ 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