[LOG] Move Elasticsearch PVC to RWO 51/97951/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:47:46 +0000 (11:47 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:47:46 +0000 (11:47 +0100)
Elasticsearch PVC is only used by elasticsearch POD. As ES doesn't
support several writes per different instances on the same folder, RWO
PVC is sufficient

Change-Id: Ie2cb4eadf8ee0c8ff1acf7e2ba172763c89583f3
Issue-ID: LOG-1114
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/log/charts/log-elasticsearch/values.yaml

index 9c3525a..11e3727 100644 (file)
@@ -75,7 +75,7 @@ persistence:
   ## If undefined (the default) or set to null, no storageClassName spec is
   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
   ##   GKE, AWS & OpenStack)
-  accessMode: ReadWriteMany
+  accessMode: ReadWriteOnce
   size: 1Gi
   mountPath: /dockerdata-nfs
   mountSubPath: log/elasticsearch/data
@@ -113,4 +113,4 @@ resources:
     requests:
       cpu: 1
       memory: 4Gi
-  unlimited: {}
\ No newline at end of file
+  unlimited: {}