Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 0475047

Browse files
committed
Increase CPU resources, use G1 GC
1 parent 13e77c1 commit 0475047

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

deploy/clowdapp.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ objects:
4343
timeoutSeconds: 120
4444
resources:
4545
limits:
46-
cpu: 500m
46+
cpu: "4"
4747
memory: 20Gi
4848
requests:
49-
cpu: 150m
49+
cpu: "2"
5050
memory: 1Gi
5151
volumeMounts:
5252
- mountPath: /tmp
@@ -94,7 +94,13 @@ objects:
9494
periodSeconds: 5
9595
successThreshold: 1
9696
timeoutSeconds: 120
97-
resources: {}
97+
resources:
98+
limits:
99+
cpu: 300m
100+
memory: 1Gi
101+
requests:
102+
cpu: 150m
103+
memory: 512Mi
98104
volumeMounts:
99105
- mountPath: /tmp
100106
name: tmpdir

deploy/docker/events/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ COPY --from=build --chown=185 /home/jboss/events/target/quarkus-app/quarkus/ /de
2323
# Add a custom run-env.sh script to append any Cryostat system properties
2424
COPY --from=build --chown=185 /home/jboss/deploy/docker/common/cryostat-run-env.sh /deployments/run-env.sh
2525

26+
ENV GC_CONTAINER_OPTIONS="-XX:+UseG1GC"
2627
ENV JAVA_OPTS_APPEND="-XX:-ExitOnOutOfMemoryError -Dquarkus.http.host=0.0.0.0 -Dquarkus.http.port=8000 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -XX:+PrintFlagsFinal"
2728
ENV JAVA_APP_JAR="/deployments/quarkus-run.jar"
2829

0 commit comments

Comments
 (0)