[APPC] Move Ansible server PVC to RWO 48/97948/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:41:53 +0000 (11:41 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 5 Nov 2019 10:41:53 +0000 (11:41 +0100)
As ansible server is a statefulset with PVC
template written in the statefulset, you'll
have one PVC per ansible server.
Thus ReadWriteMany (RWX) is not necessary and
RWO is sufficient.

Change-Id: I735891be2a098303ce85e21da7c8dc8b1ea20371
Issue-ID: APPC-1710
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/appc/charts/appc-ansible-server/values.yaml

index 7b0767c..b6bf77f 100644 (file)
@@ -87,7 +87,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: appc/ansible
@@ -112,5 +112,3 @@ resources:
       cpu: 1
       memory: 1Gi
   unlimited: {}
-
-