From a9974b17b7396b7f6ebd9e8895f1a711a6be44e6 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 1 Dec 2023 16:56:21 +0000 Subject: [PATCH] Tweak ES logging memory behaviour --- charts/kubezero-logging/templates/eck/elasticsearch.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/kubezero-logging/templates/eck/elasticsearch.yaml b/charts/kubezero-logging/templates/eck/elasticsearch.yaml index c9bf527f..f78a0e1d 100644 --- a/charts/kubezero-logging/templates/eck/elasticsearch.yaml +++ b/charts/kubezero-logging/templates/eck/elasticsearch.yaml @@ -25,6 +25,7 @@ spec: node.processors: {{ .processors }} {{- end }} indices.memory.index_buffer_size: "20%" + index.store.type: niofs podTemplate: # Remove once https://github.com/elastic/elasticsearch/pull/65923 is merged {{- if $.Values.es.s3Snapshot.iamrole }} @@ -61,7 +62,7 @@ spec: {{- if .jvm_heap }} env: - name: ES_JAVA_OPTS - value: -Xms{{ .jvm_heap }}g -Xmx{{ .jvm_heap }}g + value: -Xms{{ .jvm_heap }} -Xmx{{ .jvm_heap }} {{- end }} #{{- if $.Values.es.s3Snapshot.iamrole }} # - name: AWS_ROLE_ARN