From b80cd82bffd36e15865cc03b43f19f5310497dc7 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Sat, 30 Mar 2024 10:41:44 -0700 Subject: [PATCH] fix: HPA Alerts (#119) * fix the mistake of direct commit to main by adding another commit. * bump up cpu limits as there is only 2 deployments and resources are available in the namespace. --- .github/workflows/pr-open.yml | 2 +- frontend/openshift.deploy.yml | 2 +- frontend/openshift.nginx.deploy.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 1cdf77a7..635b4bf8 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -55,7 +55,7 @@ jobs: oc_token: ${{ secrets.OC_TOKEN }} overwrite: true parameters: - -p MIN_REPLICAS=1 -p MAX_REPLICAS=1 -p ZONE=${{ github.event.number }} + -p ZONE=${{ github.event.number }} -p PROMOTE=${{ github.repository }}/${{ matrix.name }}:${{ github.event.number }} results: diff --git a/frontend/openshift.deploy.yml b/frontend/openshift.deploy.yml index 2ab092ac..617cc146 100644 --- a/frontend/openshift.deploy.yml +++ b/frontend/openshift.deploy.yml @@ -23,7 +23,7 @@ parameters: - name: MEMORY_REQUEST value: "250Mi" - name: CPU_LIMIT - value: "150m" + value: "250m" - name: MEMORY_LIMIT value: "500Mi" - name: MIN_REPLICAS diff --git a/frontend/openshift.nginx.deploy.yml b/frontend/openshift.nginx.deploy.yml index faf1c108..4f2bd124 100644 --- a/frontend/openshift.nginx.deploy.yml +++ b/frontend/openshift.nginx.deploy.yml @@ -23,7 +23,7 @@ parameters: - name: MEMORY_REQUEST value: "20Mi" - name: CPU_LIMIT - value: "30m" + value: "50m" - name: MEMORY_LIMIT value: "60Mi" - name: MIN_REPLICAS