diff options
author | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2018-05-01 18:51:42 +0000 |
---|---|---|
committer | Daniel Silverthorn <daniel.silverthorn@amdocs.com> | 2018-05-02 15:09:43 +0000 |
commit | 947e12dba0b89a842df7ecfe11d1a115ecac9a60 (patch) | |
tree | 4683fa49a91e5e00385568e7d721b005beb32a49 /charts/aai-cassandra/templates | |
parent | 29f11ab7809f22cbcb6a2b245cd47e15f793a439 (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 'charts/aai-cassandra/templates')
-rw-r--r-- | charts/aai-cassandra/templates/statefulset.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/aai-cassandra/templates/statefulset.yaml b/charts/aai-cassandra/templates/statefulset.yaml index aa3482d..92f05dd 100644 --- a/charts/aai-cassandra/templates/statefulset.yaml +++ b/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 }} |