From b1d4ca9f6cbff00a226fb2a8685e308184e365f0 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 28 Mar 2023 18:35:29 +0200 Subject: [PATCH] Add pvc --- customers/base/jiva-sc.yml | 12 ++++++++++++ customers/base/jiva-sp.yml | 6 ++++++ customers/base/kustomization.yaml | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 customers/base/jiva-sc.yml create mode 100644 customers/base/jiva-sp.yml diff --git a/customers/base/jiva-sc.yml b/customers/base/jiva-sc.yml new file mode 100644 index 0000000..9ba9cc0 --- /dev/null +++ b/customers/base/jiva-sc.yml @@ -0,0 +1,12 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: openebs-jiva-3repl + annotations: + openebs.io/cas-type: jiva + cas.openebs.io/config: | + - name: ReplicaCount + value: "3" + - name: StoragePool + value: jiva-pool +provisioner: openebs.io/provisioner-iscsi diff --git a/customers/base/jiva-sp.yml b/customers/base/jiva-sp.yml new file mode 100644 index 0000000..9e04816 --- /dev/null +++ b/customers/base/jiva-sp.yml @@ -0,0 +1,6 @@ +apiVersion: openebs.io/v1alpha1 +kind: StoragePool +metadata: + name: jiva-pool +spec: + path: "/mnt" diff --git a/customers/base/kustomization.yaml b/customers/base/kustomization.yaml index 267ba3f..e64b78a 100644 --- a/customers/base/kustomization.yaml +++ b/customers/base/kustomization.yaml @@ -6,3 +6,5 @@ resources: - redis-deployment.yml - redis-service.yml - s3-service.yml + - jiva-sc.yml + - jiva-sp.yml