From f8f0caace6159881d365abe2ea8a48411858b32e Mon Sep 17 00:00:00 2001 From: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:55:55 +0100 Subject: [PATCH] Set Artemis RAM percentage (#112) --- charts/activemq-artemis/Chart.yaml | 2 +- charts/activemq-artemis/templates/statefulsets.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/activemq-artemis/Chart.yaml b/charts/activemq-artemis/Chart.yaml index f9a6882..d98ce2c 100644 --- a/charts/activemq-artemis/Chart.yaml +++ b/charts/activemq-artemis/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: activemq-artemis -version: 0.0.28 +version: 0.0.29 description: a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system. keywords: - activemq diff --git a/charts/activemq-artemis/templates/statefulsets.yaml b/charts/activemq-artemis/templates/statefulsets.yaml index dbeb258..b23c98c 100644 --- a/charts/activemq-artemis/templates/statefulsets.yaml +++ b/charts/activemq-artemis/templates/statefulsets.yaml @@ -44,7 +44,8 @@ spec: env: - name: JAVA_ARGS value: >- - -Dhawtio.realm=activemq -Dhawtio.offline=true + -XX:InitialRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 + -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal - name: ARTEMIS_PASSWORD valueFrom: