aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-01 18:51:42 +0000
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-02 15:09:43 +0000
commitfc1a188a58d6bf937898e091407a2cda4f8ebbb0 (patch)
tree2d96270436e2e0e94845835a024f58da150556e3 /kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
parente889e47cc850ba6651a4bc37029bb241a828e16e (diff)
Mount entire cassandra directory
Mounting only the cassandra/data directory causes any data not yet persisted to be lost. Mounting the commitlog directory as well will allow cassandra to persist data properly. Change-Id: If4453e3b39307e0243c20167b568d4ac1af20d12 Issue-ID: OOM-1024 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml b/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
index aa3482d293..92f05dda7e 100644
--- a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
+++ b/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
@@ -77,7 +77,7 @@ spec:
fieldPath: status.podIP
volumeMounts:
- name: cassandra-data
- mountPath: /var/lib/cassandra/data
+ mountPath: /var/lib/cassandra
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.nodeSelector }}