Commit c9569174 authored by David José Araújo Ferreira's avatar David José Araújo Ferreira
Browse files

Added rate limiting to ingress controller

parent 3cce9755
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,12 @@ metadata:
  name: tfs-ingress
  name: tfs-ingress
  annotations:
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    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:
spec:
  rules:
  rules:
  - http:
  - http: