Merge pull request #11098 from rook/mergify/bp/release-1.10/pr-11029
docs: explain specific nixos configurations (backport #11029)
This commit is contained in:
1 file changed
+27
@@ -101,3 +101,30 @@ or choose a different Linux distribution.
|
||||
If you will be creating volumes from a Ceph shared file system (CephFS), the recommended minimum kernel version is **4.17**.
|
||||
If you have a kernel version less than 4.17, the requested PVC sizes will not be enforced. Storage quotas will only be
|
||||
enforced on newer kernels.
|
||||
|
||||
## Distro Notes
|
||||
|
||||
Specific configurations for some distributions.
|
||||
|
||||
### NixOS
|
||||
|
||||
When you use NixOS, the kernel modules will be found in the non-standard path `/run/current-system/kernel-modules/lib/modules/`,
|
||||
and they'll be symlinked inside the also non-standard path `/nix`.
|
||||
|
||||
For Rook Ceph containers to be able to load the required modules, they need read access to those locations.
|
||||
They have to be bind-mounted as volumes in the CephFS and RBD plugin pods.
|
||||
|
||||
If you install Rook with Helm, uncomment these example settings in `values.yaml`:
|
||||
|
||||
- `csiCephFSPluginVolume`
|
||||
- `csiCephFSPluginVolumeMount`
|
||||
- `csiRBDPluginVolume`
|
||||
- `csiRBDPluginVolumeMount`
|
||||
|
||||
If you deploy without Helm, add those same values to the corresponding environment variables in the operator pod,
|
||||
or the corresponding keys in its `ConfigMap`:
|
||||
|
||||
- `CSI_CEPHFS_PLUGIN_VOLUME`
|
||||
- `CSI_CEPHFS_PLUGIN_VOLUME_MOUNT`
|
||||
- `CSI_RBD_PLUGIN_VOLUME`
|
||||
- `CSI_RBD_PLUGIN_VOLUME_MOUNT`
|
||||
Reference in new issue
Block a user