Files
homelab-infra/platform/openebs/storageclasses.yaml
T
panxiao81 88a02ababa
lint / yaml (push) Has been cancelled
lint / ansible (push) Has been cancelled
lint / terraform (push) Has been cancelled
Establish clean homelab infrastructure baseline
Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
2026-09-09 16:47:20 +00:00

23 lines
695 B
YAML

# ZFS-backed StorageClass for openebs zfs-localpv (provisioner zfs.csi.openebs.io).
# Standalone resource — NOT part of the openebs Helm release. Backs PVCs on ZFS pool
# `data/ceph`. Apply with: kubectl apply -f storageclasses.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: localpv-zfs-ceph
provisioner: zfs.csi.openebs.io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
poolname: data/ceph # ZFS dataset the volumes are carved from
csi.storage.k8s.io/fstype: xfs
compression: lz4
dedup: "off"
atime: "off"
relatime: "on"
recordsize: 128k
volblocksize: 4k
thinprovision: "yes"
xattr: sa