Skip to content

Commit

Permalink
TASK-1218397 Move java_opts to hazelcast subchart (#361)
Browse files Browse the repository at this point in the history
* TASK-1218397 remove java_opts from hazelcast subchart

* TASK-1218397 remove java_opts from hazelcast subchart

* TASK-1218397 remove java_opts from hazelcast subchart

* Move java_opts to hazelcast subchart

Co-authored-by: somuh <[email protected]>
  • Loading branch information
hsomu and somuh authored Nov 29, 2021
1 parent 416812c commit 09c521d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ data:
JAVA_OPTS: {{ .Values.server.java_opts | quote }}
SERVICE_NAME: {{ template "hazelcastName" }}-service
CLUSTER_SIZE: {{ .Values.replicas | quote }}
{{- if .Values.server.min_cluster_size }}
MIN_CLUSTER_SIZE: {{ .Values.server.min_cluster_size | quote }}
{{- end }}
{{- if .Values.server.jmx_enabled }}
JMX_ENABLED: {{ .Values.server.jmx_enabled | quote }}
{{- end }}
{{- if .Values.server.health_monitoring_level }}
HEALTH_MONITORING_LEVEL: {{ .Values.server.health_monitoring_level | quote }}
{{- end }}
Expand Down
6 changes: 4 additions & 2 deletions charts/pega/charts/hazelcast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ client:
clusterName: "PRPC"
# Server side settings for hazelcast
server:
java_opts: "-Dhazelcast.initial.min.cluster.size=3 -Dhazelcast.jmx=true
-XX:MaxRAMPercentage=80.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/hazelcast/logs/heapdump.hprof"
java_opts: "-XX:MaxRAMPercentage=80.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/hazelcast/logs/heapdump.hprof
-XX:+UseParallelGC -Xlog:gc*,gc+phases=debug:file=/opt/hazelcast/logs/gc.log:time,pid,tags:filecount=5,filesize=3m"
min_cluster_size: "3"
jmx_enabled: "true"
health_monitoring_level: "OFF"
operation_generic_thread_count: ""
operation_thread_count: ""
Expand Down

0 comments on commit 09c521d

Please sign in to comment.