Skip to content

Commit

Permalink
Merge pull request rook#13404 from rook/mergify/bp/release-1.13/pr-13375
Browse files Browse the repository at this point in the history
doc: document `spec.csi` section in cephcluster crd (backport rook#13375)
  • Loading branch information
travisn authored Dec 14, 2023
2 parents 3e0bd4a + b7e0152 commit fcbc808
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/CRDs/Cluster/ceph-cluster-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ For more details on the mons and when to choose a number other than `3`, see the
* `cleanupPolicy`: [cleanup policy settings](#cleanup-policy)
* `security`: [security page for key management configuration](../../Storage-Configuration/Advanced/key-management-system.md)
* `cephConfig`: [Set Ceph config options using the Ceph Mon config store](#ceph-config)
* `csi`: [Set CSI Driver options](#csi-driver-options)

### Ceph container images

Expand Down Expand Up @@ -974,3 +975,15 @@ spec:
user's responsibility.

The operator does not unset any removed config options, it is the user's responsibility to unset or set the default value for each removed option manually using the Ceph CLI.

## CSI Driver Options

The CSI driver options mentioned here are applied per Ceph cluster. The following options are available:

* `readAffinity`: RBD and CephFS volumes allow serving reads from an OSD in proximity to the client. Refer to the read affinity section in the [Ceph CSI Drivers](../../Storage-Configuration/Ceph-CSI/ceph-csi-drivers.md#enable-read-affinity-for-rbd-and-cephfs-volumes) for more details.
* `enabled`: Whether to enable read affinity for the CSI driver. Default is `false`.
* `crushLocationLabels`: Node labels to use as CRUSH location, corresponding to the values set in the CRUSH map. Defaults to the labels mentioned in the
[OSD topology](#osd-topology) topic.
* `cephfs`:
* `kernelMountOptions`: Mount options for kernel mounter. Refer to the [kernel mount options](https://docs.ceph.com/en/latest/man/8/mount.ceph/#options) for more details.
* `fuseMountOptions`: Mount options for fuse mounter. Refer to the [fuse mount options](https://docs.ceph.com/en/latest/man/8/ceph-fuse/#options) for more details.

0 comments on commit fcbc808

Please sign in to comment.