summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-es
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/charts/sdc-es')
-rw-r--r--kubernetes/sdc/charts/sdc-es/templates/deployment.yaml4
-rw-r--r--kubernetes/sdc/charts/sdc-es/values.yaml3
2 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/sdc/charts/sdc-es/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-es/templates/deployment.yaml
index 75ea024f3e..699dfc310d 100644
--- a/kubernetes/sdc/charts/sdc-es/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-es/templates/deployment.yaml
@@ -74,7 +74,9 @@ spec:
fieldRef:
fieldPath: status.podIP
- name: ES_HEAP_SIZE
- value: {{ .Values.config.elasticHeapSize }}
+ value: {{ .Values.config.JvmHeapSize }}
+ - name: ES_JAVA_OPTS
+ value: {{ .Values.config.JvmOptions }}
volumeMounts:
- name: {{ include "common.fullname" . }}-environments
mountPath: /root/chef-solo/environments/
diff --git a/kubernetes/sdc/charts/sdc-es/values.yaml b/kubernetes/sdc/charts/sdc-es/values.yaml
index 4dddbed769..db8e6b753c 100644
--- a/kubernetes/sdc/charts/sdc-es/values.yaml
+++ b/kubernetes/sdc/charts/sdc-es/values.yaml
@@ -40,7 +40,8 @@ debugEnabled: false
# application configuration
config:
- elasticHeapSize: 1024M
+ JvmHeapSize: "1024M"
+ JvmOptions: "-Xms512m -Xmx512m"
# default number of instances
replicaCount: 1