Skip to content

Commit

Permalink
Merge pull request #30 from bcgov/feature/increasecpu
Browse files Browse the repository at this point in the history
reducing API cpu/memory requests because they didn't increase perform…
  • Loading branch information
arcshiftsolutions authored Apr 8, 2024
2 parents 95a7458 + 0b0e641 commit 677b65f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 231 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to.openshift-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ env:
TARGET_ENV: "prod"
MIN_REPLICAS: "3"
MAX_REPLICAS: "4"
MIN_CPU: "250m"
MAX_CPU: "500m"
MIN_MEM: "850Mi"
MAX_MEM: "1000Mi"
MIN_CPU: "50m"
MAX_CPU: "300m"
MIN_MEM: "650Mi"
MAX_MEM: "750Mi"

on:
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
Expand Down
107 changes: 0 additions & 107 deletions tools/jenkins/Jenkinsfile-api-ocp4

This file was deleted.

117 changes: 0 additions & 117 deletions tools/jenkins/update-configmap.sh

This file was deleted.

6 changes: 3 additions & 3 deletions tools/openshift/api.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ objects:
name: metrics
resources:
requests:
cpu: "5m"
memory: "25Mi"
limits:
cpu: "10m"
memory: "50Mi"
limits:
cpu: "20m"
memory: "100Mi"
volumes:
- name: tls-certs
secret:
Expand Down

0 comments on commit 677b65f

Please sign in to comment.