Skip to content

Commit

Permalink
fix: too few max replicas
Browse files Browse the repository at this point in the history
Reduces alert email noise
  • Loading branch information
trev-dev committed Mar 20, 2024
1 parent f7f0529 commit 79e105e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to.openshift-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ env:
TAG: "latest"
TARGET_ENV: "dev"
MIN_REPLICAS_DEV: "1"
MAX_REPLICAS_DEV: "1"
MAX_REPLICAS_DEV: "2"
MIN_CPU: "10m"
MAX_CPU: "300m"
MIN_MEM: "650Mi"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to.openshift-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
TAG: "latest"
TARGET_ENV: "prod"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "4"
MIN_CPU: "10m"
MAX_CPU: "300m"
MIN_MEM: "650Mi"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to.openshift-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ env:
TAG: ${{ github.event.inputs.tag }}
TARGET_ENV: "test"
MIN_REPLICAS_TEST: "2"
MAX_REPLICAS_TEST: "2"
MAX_REPLICAS_TEST: "3"
MIN_CPU: "10m"
MAX_CPU: "300m"
MIN_MEM: "650Mi"
Expand Down Expand Up @@ -144,4 +144,4 @@ jobs:
- name: ZAP Scan
uses: zaproxy/action-api-scan@v0.2.0
with:
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_TEST }}.apps.silver.devops.gov.bc.ca/v3/api-docs'
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_TEST }}.apps.silver.devops.gov.bc.ca/v3/api-docs'

0 comments on commit 79e105e

Please sign in to comment.