Skip to content

Commit

Permalink
feat(openebs): create zfs media sc
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroy committed Sep 14, 2024
1 parent 8ff0937 commit 0cb7f32
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ./storageclass.yaml
20 changes: 20 additions & 0 deletions kubernetes/apps/openebs-system/openebs/app/storageclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: openebs-zfspv-media
allowedTopologies:
- matchLabelExpressions:
- key: kubernetes.io/hostname
values:
- kantai1
allowVolumeExpansion: true
parameters:
compression: "off"
dedup: "off"
fstype: "zfs"
poolname: "reservoir"
recordsize: "1M"
shared: "yes"
thinprovision: "yes"
provisioner: zfs.csi.openebs.io

0 comments on commit 0cb7f32

Please sign in to comment.