Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK-1218397 Move java_opts to hazelcast subchart #361

Merged
merged 4 commits into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
MadhuriArugula marked this conversation as resolved.
Show resolved Hide resolved
jmx_enabled: "true"
health_monitoring_level: "OFF"
operation_generic_thread_count: ""
operation_thread_count: ""
Expand Down