Skip to content

Commit

Permalink
feat(SILVA-530): added rate limiter to the backend (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj authored Oct 17, 2024
1 parent 7d932d9 commit 5d3a58f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ objects:
labels:
app: "${NAME}-${ZONE}"
name: "${NAME}-${ZONE}-${COMPONENT}"
annotations:
haproxy.router.openshift.io/rate-limit-connections: "true"
haproxy.router.openshift.io/rate-limit-connections.rate-http: "150"
haproxy.router.openshift.io/rate-limit-connections.rate-tcp: "75"
spec:
host: "${NAME}-${ZONE}-${COMPONENT}.${DOMAIN}"
port:
Expand Down

0 comments on commit 5d3a58f

Please sign in to comment.