From 76972f76546e0d3930e176c96e84159d223325b9 Mon Sep 17 00:00:00 2001 From: st782s Date: Wed, 2 May 2018 17:27:57 -0400 Subject: K8s Portal Cassandra mem setting Issue-ID: PORTAL-211 Change-Id: Id43f281366bc4faf5ce7bf6787897d23b30962e8 Signed-off-by: st782s --- kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml | 2 ++ kubernetes/portal/charts/portal-cassandra/values.yaml | 1 + 2 files changed, 3 insertions(+) (limited to 'kubernetes/portal') diff --git a/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml b/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml index 920efbcd49..9e1a57d6fa 100644 --- a/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml +++ b/kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml @@ -63,6 +63,8 @@ spec: value: "{{ .Values.config.cassandraUsername }}" - name: CASSPASS value: "{{ .Values.config.cassandraPassword }}" + - name: JVM_OPTS + value: "{{ .Values.config.cassandraJvmOpts }}" - name: POD_IP valueFrom: fieldRef: diff --git a/kubernetes/portal/charts/portal-cassandra/values.yaml b/kubernetes/portal/charts/portal-cassandra/values.yaml index ae97f33026..ef73954558 100644 --- a/kubernetes/portal/charts/portal-cassandra/values.yaml +++ b/kubernetes/portal/charts/portal-cassandra/values.yaml @@ -30,6 +30,7 @@ pullPolicy: Always config: cassandraUsername: root cassandraPassword: Aa123456 + cassandraJvmOpts: -Xmx2536m -Xms2536m # default number of instances replicaCount: 1 -- cgit 1.2.3-korg