From a06503d418a8e94ee03bf48cfcc8dc93bf8707a5 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 11 Jul 2024 21:07:58 -0500 Subject: [PATCH] Add nvme1 storageclass --- .../openebs-system/openebs/app/kustomization.yaml | 1 + .../openebs/app/sc-local-hostpath-nvme1.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml diff --git a/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml b/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml index 17cbc72b..dc5bcf7b 100644 --- a/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml +++ b/kubernetes/apps/openebs-system/openebs/app/kustomization.yaml @@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helmrelease.yaml + - ./sc-local-hostpath-nvme1.yaml diff --git a/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml b/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml new file mode 100644 index 00000000..54406e0e --- /dev/null +++ b/kubernetes/apps/openebs-system/openebs/app/sc-local-hostpath-nvme1.yaml @@ -0,0 +1,14 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: local-hostpath-nvme1 + annotations: + openebs.io/cas-type: local + cas.openebs.io/config: | + - name: StorageType + value: hostpath + - name: BasePath + value: /var/mnt/nvme1 +provisioner: openebs.io/local +reclaimPolicy: Delete +volumeBindingMode: WaitForFirstConsumer