From ace5e0d7785525fb515e3f92585376517d263a5d Mon Sep 17 00:00:00 2001 From: SoLetsDev <74216496+SoLetsDev@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:00:45 -0700 Subject: [PATCH] adding in rate limit annotations to backend.dc.yaml --- tools/openshift/backend.dc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/openshift/backend.dc.yaml b/tools/openshift/backend.dc.yaml index 3317538c4..8a4aa6ebf 100644 --- a/tools/openshift/backend.dc.yaml +++ b/tools/openshift/backend.dc.yaml @@ -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}"