[POMBA] Move Elasticsearch PVC to RWO 52/97952/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:53:46 +0000 (11:53 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:53:46 +0000 (11:53 +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: I6b7c91174f4f485dc6e3b6e34111fe4fc2bb0469
Issue-ID: LOG-1114
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/pomba/charts/pomba-elasticsearch/values.yaml

index 00eb921..8201eff 100644 (file)
@@ -74,7 +74,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: pomba/elasticsearch/data