k3s-cluster/kubernetes/main/core/openebs/mainpool-sc.yaml

14 lines
No EOL
381 B
YAML

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: mainpool-hostpath
annotations:
openebs.io/cas-type: local
cas.openebs.io/config: |
- name: StorageType
value: hostpath
- name: BasePath
value: /mnt/MainPool/Kubernetes/openebs-hostpath
provisioner: openebs.io/local
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer