Skip to content

Commit

Permalink
pushed cpu up to 100m (#1774)
Browse files Browse the repository at this point in the history
* pushed cpu up to 100m
* allow up to 20 seconds for health check - due to R
  • Loading branch information
Sybrand authored Mar 9, 2022
1 parent 3e855fd commit 7b527db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo Provision database
CPU_REQUEST=75m CPU_LIMIT=2000m MEMORY_REQUEST=2Gi MEMORY_LIMIT=16Gi PVC_SIZE=45Gi PROJ_TARGET=e1e498-prod bash openshift/scripts/oc_provision_db.sh prod apply
echo Deploy API
CPU_REQUEST=50m CPU_LIMIT=500m MEMORY_REQUEST=2Gi MEMORY_LIMIT=3Gi REPLICAS=3 PROJ_TARGET=e1e498-prod VANITY_DOMAIN=psu.nrs.gov.bc.ca SECOND_LEVEL_DOMAIN=apps.silver.devops.gov.bc.ca bash ./openshift/scripts/oc_deploy.sh prod apply
CPU_REQUEST=100m CPU_LIMIT=500m MEMORY_REQUEST=2Gi MEMORY_LIMIT=3Gi REPLICAS=3 PROJ_TARGET=e1e498-prod VANITY_DOMAIN=psu.nrs.gov.bc.ca SECOND_LEVEL_DOMAIN=apps.silver.devops.gov.bc.ca bash ./openshift/scripts/oc_deploy.sh prod apply
echo Env Canada Subscriber
PROJ_TARGET=e1e498-prod bash openshift/scripts/oc_provision_ec_gdps_cronjob.sh prod apply
PROJ_TARGET=e1e498-prod bash openshift/scripts/oc_provision_ec_hrdps_cronjob.sh prod apply
Expand Down
2 changes: 1 addition & 1 deletion openshift/templates/deploy.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ objects:
# initialDelaySeconds and initialDelaySeconds + periodSeconds
initialDelaySeconds: 30
periodSeconds: 120
timeoutSeconds: 5
timeoutSeconds: 20
- apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit 7b527db

Please sign in to comment.