Skip to content

Commit

Permalink
Sync from main - GRAD2-2086
Browse files Browse the repository at this point in the history
Sync from main - GRAD2-2086
  • Loading branch information
kamal-mohammed authored May 12, 2023
2 parents 2c29be8 + 8f60d0b commit b7cc100
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.from.main.branch.deploy.to.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ env:
TAG: "latest"
MIN_CPU: "20m"
MAX_CPU: "100m"
MIN_MEM: "100Mi"
MAX_MEM: "1024Mi"
MIN_MEM: "200Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.from.release.branch.deploy.to.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ env:
TAG: "latest"
MIN_CPU: "20m"
MAX_CPU: "100m"
MIN_MEM: "100Mi"
MAX_MEM: "1024Mi"
MIN_MEM: "200Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ env:

MIN_CPU: "20m"
MAX_CPU: "100m"
MIN_MEM: "100Mi"
MAX_MEM: "1024Mi"
MIN_MEM: "200Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ env:

MIN_CPU: "20m"
MAX_CPU: "100m"
MIN_MEM: "100Mi"
MAX_MEM: "1024Mi"
MIN_MEM: "200Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG DEPENDENCY=/workspace/app/target/dependency
COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF
COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app
ENTRYPOINT ["java","-Duser.name=EDUC_GRAD_PROGRAM_API","-Xms800m","-Xmx800m","-noverify","-XX:TieredStopAtLevel=1",\
ENTRYPOINT ["java","-Duser.name=EDUC_GRAD_PROGRAM_API","-Xms1024m","-Xmx1024m","-noverify","-XX:TieredStopAtLevel=1",\
"-XX:+UseParallelGC","-XX:MinHeapFreeRatio=20","-XX:MaxHeapFreeRatio=40",\
"-XX:GCTimeRatio=4","-XX:AdaptiveSizePolicyWeight=90","-XX:MaxMetaspaceSize=100m",\
"-XX:ParallelGCThreads=1","-Djava.util.concurrent.ForkJoinPool.common.parallelism=1",\
Expand Down
2 changes: 1 addition & 1 deletion tools/openshift/api.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ objects:
resource:
name: memory
target:
averageUtilization: 850
averageUtilization: 500
type: Utilization
parameters:
- name: REPO_NAME
Expand Down

0 comments on commit b7cc100

Please sign in to comment.