Documentation/Helm-Charts/csi-drivers-chart.md
To configure the Ceph-CSI drivers, Rook requires the installation of the Ceph-CSI Driver chart. This chart configures the CSI drivers to provision and mount volumes to make available the Ceph storage to your applications.
rook-ceph chart must be installed before the Ceph-CSI drivers chart, to install the required Ceph-CSI operator and CRDs.The Ceph-CSI drivers Helm chart installs the resources needed for ceph-csi to run under the ceph-csi-operator.
The helm install command deploys the drivers in the default configuration from the chart. For more configuration options, see the Ceph-CSI Drivers Configuration.
Ceph-CSI publishes the drivers chart from the ceph-csi-operator Helm repository.
helm repo add ceph-csi-operator https://ceph.github.io/ceph-csi-operator
helm install ceph-csi-drivers --namespace rook-ceph ceph-csi-operator/ceph-csi-drivers
Below are some examples of common settings that may need to be customized in the CSI drivers chart. Create a values file with the desired settings and install with -f values.yaml.
operatorConfig:
driverSpecDefaults:
deployCsiAddons: true
See: CSI-Addons sidecar
operatorConfig:
driverSpecDefaults:
controllerPlugin:
replicas: 2
See: Controller replicas and strategy
drivers:
cephfs:
cephFsClientType: fuse
See: CephFS client type (kernel vs FUSE)
drivers:
rbd:
name: rook-ceph.rbd.csi.ceph.com
Note The prefix rook-ceph should always be the rook operator namespace.
See: Driver name / provisioner prefix
drivers:
nfs:
enabled: true
name: rook-ceph.nfs.csi.ceph.com
operatorConfig:
driverSpecDefaults:
nodePlugin:
kubeletDirPath: /var/lib/kubelet
enableSeLinuxHostMount: true
See: Node plugin kubelet path and SELinux host mount
Custom CSI images are configured from the rook-ceph chart.
See the default images in the rook-ceph chart values