From 9c8cf0888c0bdc0b40523ed643bd9d459f061f12 Mon Sep 17 00:00:00 2001 From: Kamal Mohammed Date: Thu, 15 Feb 2024 13:50:17 -0700 Subject: [PATCH 1/2] Update deploy_prod.yml --- .github/workflows/deploy_prod.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index e096be98..dbd4ccde 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -17,10 +17,10 @@ env: GRAD_NAMESPACE: ${{ vars.GRAD_NAMESPACE }} TAG: "latest" BRANCH: "main" - MIN_CPU: "20m" - MAX_CPU: "250m" - MIN_MEM: "100Mi" - MAX_MEM: "600Mi" + MIN_CPU: "100m" + MAX_CPU: "500m" + MIN_MEM: "256Mi" + MAX_MEM: "1Gi" MIN_REPLICAS: "3" MAX_REPLICAS: "5" From 4181b8cca7fb5b15e62b941a417d5e3f062fdb2b Mon Sep 17 00:00:00 2001 From: Kamal Mohammed Date: Fri, 16 Feb 2024 10:49:36 -0700 Subject: [PATCH 2/2] Update update-configmap.sh --- tools/config/update-configmap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/config/update-configmap.sh b/tools/config/update-configmap.sh index 6e197ffe..8206fd0c 100644 --- a/tools/config/update-configmap.sh +++ b/tools/config/update-configmap.sh @@ -62,7 +62,7 @@ oc create -n "$GRAD_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map \ --from-literal=GRAD_PROGRAM_API="http://educ-grad-program-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \ --from-literal=GRAD_STUDENT_GRADUATION_API="http://educ-grad-student-graduation-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \ --from-literal=GRAD_TRAX_API="http://educ-grad-trax-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/"\ - --from-literal=MAXIMUM_POOL_SIZE="50" \ + --from-literal=MAXIMUM_POOL_SIZE="20" \ --from-literal=MAX_RETRY_ATTEMPTS="3" \ --from-literal=PEN_API="http://student-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/" \ --dry-run=client -o yaml | oc apply -f -