1.5 KiB
1.5 KiB
Documentation → Installation → Kubernetes CSI
Kubernetes CSI
Vitastor has a CSI plugin for Kubernetes which supports RWO (and block RWX) volumes.
To deploy it, take manifests from csi/deploy/ directory, put your
Vitastor configuration in 001-csi-config-map.yaml,
configure storage class in 009-storage-class.yaml
and apply all NNN-*.yaml
manifests to your Kubernetes installation:
for i in ./???-*.yaml; do kubectl apply -f $i; done
After that you'll be able to create PersistentVolumes.
Features
Vitastor CSI supports:
- Kubernetes starting with 1.20 (or 1.17 for older vitastor-csi <= 1.1.0)
- Filesystem RWO (ReadWriteOnce) volumes. Example: PVC, pod
- Raw block RWX (ReadWriteMany) volumes. Example: PVC, pod
- Volume expansion
- Volume snapshots. Example: snapshot class, snapshot, clone
Remember that to use snapshots with CSI you also have to install Snapshot Controller and CRDs.