Skip to content

Commit

Permalink
chore: add rate limiting (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Jan 11, 2025
1 parent ae78d55 commit 45929a3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ metadata:
labels:
{{- include "frontend.labels" . | nindent 4 }}
name: {{ include "frontend.fullname" . }}
annotations:
route.openshift.io/termination: "edge"
haproxy.router.openshift.io/disable_cookies: 'true'
haproxy.router.openshift.io/rate-limit-connections: 'true'
haproxy.router.openshift.io/rate-limit-connections.concurrent-tcp: '100'
haproxy.router.openshift.io/rate-limit-connections.rate-http: '200'
haproxy.router.openshift.io/rate-limit-connections.rate-tcp: '500'
spec:
host: {{ include "frontend.fullname" . }}.{{ .Values.global.domain }}
port:
Expand Down

0 comments on commit 45929a3

Please sign in to comment.