From d553f47aa44951cd9b67f8aa7a40a2bee7b0752a Mon Sep 17 00:00:00 2001 From: maurv Date: Fri, 3 Dec 2021 15:58:40 +0530 Subject: [PATCH] TASK-1222514 removed unused param and using replica count as min cluster size --- .../hazelcast/templates/pega-hz-environment-config.yaml | 5 +---- charts/pega/charts/hazelcast/values.yaml | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/charts/pega/charts/hazelcast/templates/pega-hz-environment-config.yaml b/charts/pega/charts/hazelcast/templates/pega-hz-environment-config.yaml index 4ae70af4a..f1312b983 100644 --- a/charts/pega/charts/hazelcast/templates/pega-hz-environment-config.yaml +++ b/charts/pega/charts/hazelcast/templates/pega-hz-environment-config.yaml @@ -9,10 +9,7 @@ data: NAMESPACE: {{ .Release.Namespace }} 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 }} + MIN_CLUSTER_SIZE: {{ .Values.replicas | quote }} {{- if .Values.server.jmx_enabled }} JMX_ENABLED: {{ .Values.server.jmx_enabled | quote }} {{- end }} diff --git a/charts/pega/charts/hazelcast/values.yaml b/charts/pega/charts/hazelcast/values.yaml index 89633a7a4..ebe417a52 100644 --- a/charts/pega/charts/hazelcast/values.yaml +++ b/charts/pega/charts/hazelcast/values.yaml @@ -25,7 +25,6 @@ client: server: 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: ""