summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates/statefulset.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-08-29 17:18:32 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-08-29 17:18:32 +0200
commit26b406cc38a67ec4475b4759e40e5e0e7afe7081 (patch)
tree8c3cf91e7d29ce61ef9f866ef5abddece4ab4d06 /kubernetes/common/mariadb-galera/templates/statefulset.yaml
parent424278d0f109f5515393d83ea03162b073773e55 (diff)
Move CLAMP Storage access to RWO
Today when deploying CLAMP with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). CLAMP PVC is used only for one ES instance. Thus we don't need RWX. Change-Id: I3a17195bca4f0f01b5cdb0d8e803bb2a8ab2dd38 Issue-ID: CLAMP-488 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/statefulset.yaml')
0 files changed, 0 insertions, 0 deletions