Export your ZFS and LVM pools to Kubernetes.
Run one CSI driver for every pool on your storage nodes. The Linux kernel's NVMe-oF target, iSCSI target, or NFS server serves each volume to your pods over TCP.
Scroll sideways for the whole drawing
One driver for every backend and protocol
Install one Helm release instead of a driver for each backend. ZFS and LVM pools share one configuration model: each setting has the same YAML shape in a PillarStore or PillarProtocol, a PillarStorageClass, and a PVC annotation.
| Axis | Shipped | Planned |
|---|---|---|
| Backends | ZFS zvols and datasets, LVM logical volumes | More backends |
| Protocols | NVMe-oF/TCP, iSCSI, NFSv4.2 | SMB |
Shipped Planned, not available yet
# values.yaml
agent:
backends:
- zfs:
pool: tank
parentDataset: k8s
- lvm:
volumeGroup: data-vgThe driver images carry the ZFS, LVM, filesystem, and NFS mount/export tools. The agent writes the NVMe-oF and iSCSI target configuration itself and supervises NFS exports. The node plugin connects or mounts without host packages. You install nopillar-csi packages on the host, and the driver needs no SSH.
In the images
zfsandzpoolfrom OpenZFS 2.4lvm2mkfs.ext4,mkfs.xfs, and the resize tools- NFS export supervision in
pillar-agentand a bundledmount.nfshelper inpillar-node - NVMe-oF and iSCSI target setup through configfs, replacing
nvmetcliandtargetcli - NVMe-oF connect through
/dev/nvme-fabrics, replacingnvme-cli - iSCSI login in the node plugin, replacing
iscsiadmandiscsid
On your hosts
- Storage nodes
nvmetandnvmet_tcp, the LIO iSCSI modules, or kernel NFS server support (nfsd), plus a ZFS pool or LVM volume group- Workers
nvme_fabrics,nvme_tcp,iscsi_tcp, or NFS client support (nfs/nfsv4)- Cluster
- Kubernetes 1.24 or later, Helm 3.8 or later
General notes
- Each volume lives on one storage node. pillar-csi does not replicate data, so a volume is unavailable while its node is down. Even an NFS ReadWriteMany export serves from one node's pool.
- The kernel carries every read and write. The controller, agent, and node plugin can restart without interrupting connected volumes.
- SMB is planned and unavailable. NVMe-oF/TCP, iSCSI and NFSv4.2 ship today, using the same Store → Protocol → StorageClass model.