31 lines
728 B
YAML
31 lines
728 B
YAML
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: openebs-zfspv-1m-zstd
|
|
provisioner: zfs.csi.openebs.io
|
|
parameters:
|
|
poolname: "********"
|
|
fstype: "zfs"
|
|
recordsize: "1M"
|
|
compression: "zstd"
|
|
dedup: "off"
|
|
thinprovision: "yes"
|
|
allowVolumeExpansion: true
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
reclaimPolicy: Retain
|
|
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: openebs-hostpath-hdd
|
|
annotations:
|
|
openebs.io/cas-type: local
|
|
cas.openebs.io/config: |
|
|
- name: StorageType
|
|
value: "hostpath"
|
|
- name: BasePath
|
|
value: "********"
|
|
provisioner: openebs.io/local
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
reclaimPolicy: Retain
|
|
allowVolumeExpansion: false
|