Skip to content

Commit fbbe0a0

Browse files
committed
fix: too few max replicas
This should lower the amount of email alert noise
1 parent 5e4fe00 commit fbbe0a0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/deploy-to.openshift-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434
COMMON_NAMESPACE: ${{ secrets.COMMON_NAMESPACE_NO_ENV }}
3535
TAG: "latest"
3636
MIN_REPLICAS_DEV: "1"
37-
MAX_REPLICAS_DEV: "1"
37+
MAX_REPLICAS_DEV: "2"
3838
MIN_CPU: "15m"
3939
MAX_CPU: "300m"
4040
MIN_MEM: "650Mi"
@@ -167,4 +167,4 @@ jobs:
167167
- name: ZAP Scan
168168
uses: zaproxy/action-api-scan@v0.2.0
169169
with:
170-
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_DEV }}.apps.silver.devops.gov.bc.ca/v3/api-docs'
170+
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_DEV }}.apps.silver.devops.gov.bc.ca/v3/api-docs'

.github/workflows/deploy-to.openshift-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
TAG: "latest"
3131
TARGET_ENV: "prod"
3232
MIN_REPLICAS: "3"
33-
MAX_REPLICAS: "3"
33+
MAX_REPLICAS: "4"
3434
MIN_CPU: "25m"
3535
MAX_CPU: "300m"
3636
MIN_MEM: "650Mi"
@@ -128,4 +128,4 @@ jobs:
128128
|| true && echo "Rollout in progress"
129129
oc logs -f dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
130130
# Get status, returns 0 if rollout is successful
131-
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
131+
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}

.github/workflows/deploy-to.openshift-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434
COMMON_NAMESPACE: ${{ secrets.COMMON_NAMESPACE_NO_ENV }}
3535
TAG: ${{ github.event.inputs.tag }}
3636
MIN_REPLICAS_TEST: "2"
37-
MAX_REPLICAS_TEST: "2"
37+
MAX_REPLICAS_TEST: "3"
3838
MIN_CPU: "25m"
3939
MAX_CPU: "150m"
4040
MIN_MEM: "650Mi"
@@ -135,4 +135,4 @@ jobs:
135135
- name: ZAP Scan
136136
uses: zaproxy/action-api-scan@v0.2.0
137137
with:
138-
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_TEST }}.apps.silver.devops.gov.bc.ca/v3/api-docs'
138+
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE_TEST }}.apps.silver.devops.gov.bc.ca/v3/api-docs'

0 commit comments

Comments
 (0)