From 3ef9179dc7e7a8501677504f48397d913e863f6e Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 28 Mar 2023 18:27:39 +0200 Subject: [PATCH] Open ebs --- openebs/jiva-sc.yml | 12 ++++++++++++ openebs/jiva-sp.yaml | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 openebs/jiva-sc.yml create mode 100644 openebs/jiva-sp.yaml diff --git a/openebs/jiva-sc.yml b/openebs/jiva-sc.yml new file mode 100644 index 0000000..9ba9cc0 --- /dev/null +++ b/openebs/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/openebs/jiva-sp.yaml b/openebs/jiva-sp.yaml new file mode 100644 index 0000000..9e04816 --- /dev/null +++ b/openebs/jiva-sp.yaml @@ -0,0 +1,6 @@ +apiVersion: openebs.io/v1alpha1 +kind: StoragePool +metadata: + name: jiva-pool +spec: + path: "/mnt"