Skip to content

Commit

Permalink
adding in rate limit annotations to backend.dc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
SoLetsDev committed Oct 25, 2023
1 parent 8c774d1 commit ace5e0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/openshift/backend.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ objects:
kind: Route
metadata:
annotations:
haproxy.router.openshift.io/rate-limit-connections: 'true'
haproxy.router.openshift.io/rate-limit-connections.concurrent-tcp: '10'
haproxy.router.openshift.io/rate-limit-connections.rate-http: '50'
haproxy.router.openshift.io/timeout: 120s
openshift.io/host.generated: 'true'
labels:
app: "${APP_NAME}-${BRANCH}"
Expand Down

0 comments on commit ace5e0d

Please sign in to comment.