Skip to content

Commit

Permalink
Fix/hpa (#9)
Browse files Browse the repository at this point in the history
* Update deploy-to.openshift-test.yml

Updated MAX_REPLICAS to 5

* Update deploy-to.openshift-prod.yml

Updated MAX_REPLICAS to 5

* Update deploy-to.openshift-dev.yml

Updated MAX_REPLICAS to 2
  • Loading branch information
cditcher authored May 30, 2024
1 parent 00d0675 commit 7b4417d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to.openshift-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
TAG: "latest"
TARGET_ENV: "dev"
MIN_REPLICAS: "1"
MAX_REPLICAS: "1"
MAX_REPLICAS: "2"
MIN_CPU: "75m"
MAX_CPU: "150m"
MIN_MEM: "400Mi"
Expand Down Expand Up @@ -171,4 +171,4 @@ jobs:
- name: ZAP Scan
uses: zaproxy/[email protected]
with:
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE }}-dev.apps.silver.devops.gov.bc.ca/v3/api-docs'
target: 'https://${{ env.APP_NAME }}-${{ env.OPENSHIFT_NAMESPACE }}-dev.apps.silver.devops.gov.bc.ca/v3/api-docs'
4 changes: 2 additions & 2 deletions .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: "5"
MIN_CPU: "75m"
MAX_CPU: "150m"
MIN_MEM: "400Mi"
Expand Down Expand Up @@ -124,4 +124,4 @@ jobs:
|| true && echo "Rollout in progress"
oc logs -f dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
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 @@ -27,7 +27,7 @@ env:
TAG: "latest"
TARGET_ENV: "test"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MAX_REPLICAS: "5"
MIN_CPU: "75m"
MAX_CPU: "150m"
MIN_MEM: "400Mi"
Expand Down Expand Up @@ -124,4 +124,4 @@ jobs:
|| true && echo "Rollout in progress"
oc logs -f dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}
oc rollout status dc/${{ env.SPRING_BOOT_IMAGE_NAME }}

0 comments on commit 7b4417d

Please sign in to comment.