Add openebs-zfs.
This commit is contained in:
parent
ad2af8b2d9
commit
4b860ff2c7
4 changed files with 36 additions and 2 deletions
|
@ -39,7 +39,13 @@ spec:
|
|||
enabled: false
|
||||
keep: false
|
||||
zfs-localpv:
|
||||
enabled: false
|
||||
enabled: true
|
||||
zfsNode:
|
||||
encrKeysDir: /var/openebs/keys
|
||||
zfsPlugin:
|
||||
image:
|
||||
registry: quay.io/
|
||||
repository: openebs/zfs-driver
|
||||
lvm-localpv:
|
||||
enabled: false
|
||||
mayastor:
|
||||
|
@ -49,7 +55,7 @@ spec:
|
|||
lvm:
|
||||
enabled: false
|
||||
zfs:
|
||||
enabled: false
|
||||
enabled: true
|
||||
replicated:
|
||||
mayastor:
|
||||
enabled: false
|
||||
|
|
|
@ -4,3 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ./storageclass.yaml
|
||||
- ./volumesnapshotclass.yaml
|
||||
|
|
16
kubernetes/apps/openebs-system/openebs/app/storageclass.yaml
Normal file
16
kubernetes/apps/openebs-system/openebs/app/storageclass.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: openebs-zfs
|
||||
annotations:
|
||||
storageclass.kubevirt.io/is-default-virt-class: "true"
|
||||
# storageclass.kubernetes.io/is-default-class: "true"
|
||||
provisioner: zfs.csi.openebs.io
|
||||
parameters:
|
||||
recordsize: "128k"
|
||||
compression: "off"
|
||||
dedup: "off"
|
||||
fstype: "zfs"
|
||||
poolname: "nahar"
|
||||
allowVolumeExpansion: true
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/snapshot.storage.k8s.io/volumesnapshotclass_v1.json
|
||||
kind: VolumeSnapshotClass
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
metadata:
|
||||
name: openebs-zfs
|
||||
# annotations:
|
||||
# snapshot.storage.kubernetes.io/is-default-class: "true"
|
||||
driver: zfs.csi.openebs.io
|
||||
deletionPolicy: Delete
|
Loading…
Reference in a new issue