Skip to content

Commit

Permalink
fix: HPA Alerts (#119)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
mishraomp authored Mar 30, 2024
1 parent ed32a84 commit b80cd82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion frontend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion frontend/openshift.nginx.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b80cd82

Please sign in to comment.