Skip to content

Commit

Permalink
Merge pull request #447 from bcgov/develop/jinil
Browse files Browse the repository at this point in the history
GRAD2-2395: reduce the number of partitions and increase the max pool…
  • Loading branch information
kamal-mohammed authored Nov 17, 2023
2 parents 1b05d58 + ee4c546 commit 57574a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ oc create -n "$OPENSHIFT_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map
--from-literal=GRAD_TRAX_API="http://educ-grad-trax-api.$OPENSHIFT_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=MAX_LIFETIME="600000" \
--from-literal=GRAD_STUDENT_API="http://educ-grad-student-api.$OPENSHIFT_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=MAXIMUM_POOL_SIZE="20" \
--from-literal=MAXIMUM_POOL_SIZE="25" \
--from-literal=APP_LOG_LEVEL="INFO" \
--from-literal=GRAD_GRADUATION_REPORT_API="http://educ-grad-graduation-report-api.$OPENSHIFT_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_DISTRIBUTION_API="http://educ-grad-distribution-api.$BUSINESS_NAMESPACE-$envValue.svc.cluster.local:8080/" \
Expand All @@ -67,7 +67,7 @@ oc create -n "$OPENSHIFT_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map
--from-literal=TOKEN_EXPIRY_OFFSET="30" \
--from-literal=GRAD_GRADUATION_API="http://educ-grad-graduation-api.$OPENSHIFT_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=DIST_RUN_CRON="0 0 02 1 * *" \
--from-literal=NUMBER_OF_PARTITIONS="15" \
--from-literal=NUMBER_OF_PARTITIONS="10" \
--from-literal=KEYCLOAK_TOKEN_URL="https://soam-$envValue.apps.silver.devops.gov.bc.ca/" \
--from-literal=REG_ALG_CRON="0 30 18 * * *" \
--dry-run=client -o yaml | oc apply -f -
Expand Down

0 comments on commit 57574a1

Please sign in to comment.