Skip to content

Commit

Permalink
Update memory and scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-mohammed committed Nov 28, 2023
1 parent 64a5f46 commit 60bbcfb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
MIN_CPU: "30m"
MAX_CPU: "120m"
MIN_MEM: "350Mi"
MAX_MEM: "900Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"
STORAGE_LIMIT: 16Gi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.from.main.branch.deploy.to.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
MIN_CPU: "30m"
MAX_CPU: "120m"
MIN_MEM: "350Mi"
MAX_MEM: "900Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"
STORAGE_LIMIT: 16Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
MIN_CPU: "30m"
MAX_CPU: "120m"
MIN_MEM: "350Mi"
MAX_MEM: "900Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"
STORAGE_LIMIT: 16Gi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
MIN_CPU: "30m"
MAX_CPU: "120m"
MIN_MEM: "350Mi"
MAX_MEM: "900Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"
STORAGE_LIMIT: 32Gi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
MIN_CPU: "30m"
MAX_CPU: "120m"
MIN_MEM: "350Mi"
MAX_MEM: "900Mi"
MAX_MEM: "1200Mi"
MIN_REPLICAS: "3"
MAX_REPLICAS: "5"
STORAGE_LIMIT: 32Gi
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_BUSINESS_API","-Xms700m","-Xmx700m","-XX:TieredStopAtLevel=1",\
ENTRYPOINT ["java","-Duser.name=EDUC_GRAD_BUSINESS_API","-Xms1024m","-Xmx1024m","-XX:TieredStopAtLevel=1",\
"-XX:+UseParallelGC","-XX:MinHeapFreeRatio=20","-XX:MaxHeapFreeRatio=40","-XX:GCTimeRatio=4",\
"-XX:AdaptiveSizePolicyWeight=90","-XX:MaxMetaspaceSize=300m","-XX:ParallelGCThreads=1",\
"-Djava.util.concurrent.ForkJoinPool.common.parallelism=1","-XX:CICompilerCount=2",\
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 @@ -157,7 +157,7 @@ objects:
resource:
name: memory
target:
averageUtilization: 200
averageUtilization: 250
type: Utilization
- apiVersion: v1
kind: PersistentVolumeClaim
Expand Down

0 comments on commit 60bbcfb

Please sign in to comment.