From 3e3203a389c9b8413bf4df433a0dcc0da5c1f71d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 31 Mar 2023 13:53:34 +0200 Subject: [PATCH] ReadWriteOnce --- customers/base/nextcloud-deployment.yml | 2 +- store.yaml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 store.yaml diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index 871a554..35cf8b3 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -17,7 +17,7 @@ spec: spec: storageClassName: mayastor-3 accessModes: - - ReadWriteMany + - ReadWriteOnce resources: requests: storage: 1Gi diff --git a/store.yaml b/store.yaml new file mode 100644 index 0000000..2a8a5a5 --- /dev/null +++ b/store.yaml @@ -0,0 +1,9 @@ +apiVersion: openebs.io/v1alpha1 +kind: MayastorPool +metadata: + name: microk8s-kube3-pool + namespace: mayastor +spec: + disks: + - /data/microk8s.img + node: kube3