From 1e2cdffe3a96574d35ed7664f8c525114bbfe9f2 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sun, 21 Jul 2024 07:31:15 -0500 Subject: [PATCH] Update storage profiles --- kubernetes/apps/cdi/cdi/app/kustomization.yaml | 4 ++-- .../app/{sp-hostpath.yaml => sp-openebs-hostpath.yaml} | 0 .../app/{sp-hostpath-nvme1.yaml => sp-openebs-zfs.yaml} | 9 +++++---- kubernetes/tools/kbench.yaml | 5 +++-- 4 files changed, 10 insertions(+), 8 deletions(-) rename kubernetes/apps/cdi/cdi/app/{sp-hostpath.yaml => sp-openebs-hostpath.yaml} (100%) rename kubernetes/apps/cdi/cdi/app/{sp-hostpath-nvme1.yaml => sp-openebs-zfs.yaml} (82%) diff --git a/kubernetes/apps/cdi/cdi/app/kustomization.yaml b/kubernetes/apps/cdi/cdi/app/kustomization.yaml index 98ecd0ac..796cff94 100644 --- a/kubernetes/apps/cdi/cdi/app/kustomization.yaml +++ b/kubernetes/apps/cdi/cdi/app/kustomization.yaml @@ -5,6 +5,6 @@ kind: Kustomization resources: # Flux-Kustomizations - ./ingress.yaml - - ./sp-hostpath.yaml - - ./sp-hostpath-nvme1.yaml - ./sp-nfs-zfs-csi.yaml + - ./sp-openebs-hostpath.yaml + - ./sp-openebs-zfs.yaml diff --git a/kubernetes/apps/cdi/cdi/app/sp-hostpath.yaml b/kubernetes/apps/cdi/cdi/app/sp-openebs-hostpath.yaml similarity index 100% rename from kubernetes/apps/cdi/cdi/app/sp-hostpath.yaml rename to kubernetes/apps/cdi/cdi/app/sp-openebs-hostpath.yaml diff --git a/kubernetes/apps/cdi/cdi/app/sp-hostpath-nvme1.yaml b/kubernetes/apps/cdi/cdi/app/sp-openebs-zfs.yaml similarity index 82% rename from kubernetes/apps/cdi/cdi/app/sp-hostpath-nvme1.yaml rename to kubernetes/apps/cdi/cdi/app/sp-openebs-zfs.yaml index f286410c..5142093d 100644 --- a/kubernetes/apps/cdi/cdi/app/sp-hostpath-nvme1.yaml +++ b/kubernetes/apps/cdi/cdi/app/sp-openebs-zfs.yaml @@ -8,19 +8,20 @@ metadata: app.kubernetes.io/component: storage app.kubernetes.io/managed-by: cdi-controller cdi.kubevirt.io: "" - name: local-hostpath-nvme1 + name: openebs-zfs spec: claimPropertySets: - accessModes: - ReadWriteOnce volumeMode: Filesystem + snapshotClass: openebs-zfs status: claimPropertySets: - accessModes: - ReadWriteOnce volumeMode: Block - cloneStrategy: copy + cloneStrategy: clone dataImportCronSourceFormat: pvc provisioner: openebs.io/local - snapshotClass: local-hostpath-nvme1 - storageClass: local-hostpath-nvme1 + snapshotClass: openebs-zfs + storageClass: openebs-zfs diff --git a/kubernetes/tools/kbench.yaml b/kubernetes/tools/kbench.yaml index 85c33a36..b0e71e63 100644 --- a/kubernetes/tools/kbench.yaml +++ b/kubernetes/tools/kbench.yaml @@ -4,8 +4,9 @@ apiVersion: v1 metadata: name: kbench-pvc spec: - storageClassName: zfs-generic-nfs-csi - # storageClassName: openebs-hostpath + # storageClassName: zfs-generic-nfs-csi + storageClassName: openebs-hostpath + # storageClassName: openebs-zfs accessModes: - ReadWriteOnce resources: