summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-05-02 17:27:57 -0400
committerst782s <statta@research.att.com>2018-05-02 17:29:01 -0400
commit76972f76546e0d3930e176c96e84159d223325b9 (patch)
tree8aabe200e21ee2bd286d45c4cc6d1afc1a1c2c4d
parenta557d3ffcb47e184bc131ea1003470b7ac8bf9d6 (diff)
K8s Portal Cassandra mem setting
Issue-ID: PORTAL-211 Change-Id: Id43f281366bc4faf5ce7bf6787897d23b30962e8 Signed-off-by: st782s <statta@research.att.com>
-rw-r--r--kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml2
-rw-r--r--kubernetes/portal/charts/portal-cassandra/values.yaml1
2 files changed, 3 insertions, 0 deletions
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