This commit is contained in:
Nathan Rashleigh committed 2025-03-10 14:22:19 +11:00
1 parent ca6113a68e
commit 7fbc9cdd3d
7 files changed
+261 -6

No files matched your search

+92
View File
@@ -0,0 +1,92 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: openebs
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: openebs
namespace: openebs
spec:
repo: https://openebs.github.io/openebs/
chart: openebs
targetNamespace: openebs
valuesContent: |-
engines:
replicated:
mayastor:
enabled: false
local:
lvm:
enabled: false
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: zfs-fast
parameters:
poolname: "fast/k8s"
recordsize: "128k"
compression: "off"
dedup: "off"
fstype: "zfs"
provisioner: zfs.csi.openebs.io
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: zfs-slow
parameters:
poolname: "slow/k8s"
# https://www.zfshandbook.com/docs/advanced-zfs/performance-tuning/
recordsize: "1M"
compression: "off"
dedup: "off"
fstype: "zfs"
provisioner: zfs.csi.openebs.io
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: fast
annotations:
cas.openebs.io/config: |
- name: StorageType
value: "hostpath"
- name: BasePath
value: "/fast/k8s/"
openebs.io/cas-type: local
provisioner: openebs.io/local
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: slow
annotations:
cas.openebs.io/config: |
- name: StorageType
value: "hostpath"
- name: BasePath
value: "/slow/k8s/"
openebs.io/cas-type: local
provisioner: openebs.io/local
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer