From d3a972c7def7cbba2273d9d23e42de890ce39fd8 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Mon, 14 Apr 2025 15:24:35 -0600 Subject: [PATCH] osd: document the ceph conf overrides per node Recently the feature was implemented for osd node-specific ceph.conf overrides in https://github.com/rook/rook/pull/15293. Now the documentation is added for the feature. Signed-off-by: Travis Nielsen (cherry picked from commit 874eb1f7f2f44643fc7639144fd20653bb87de9d) --- .../Advanced/ceph-configuration.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/Storage-Configuration/Advanced/ceph-configuration.md b/Documentation/Storage-Configuration/Advanced/ceph-configuration.md index 3b439e27e..f9c9ee9e8 100644 --- a/Documentation/Storage-Configuration/Advanced/ceph-configuration.md +++ b/Documentation/Storage-Configuration/Advanced/ceph-configuration.md @@ -249,6 +249,22 @@ The simplest way to trigger the update is to add [annotations or labels](../../C to the CephCluster CR for the daemons you want to restart. The operator will then proceed with a rolling update, similar to any other update to the cluster. +### Node-specific OSD settings + +The OSD ceph config settings can also be customized per-node. This may be helpful for some ceph.conf settings that need to be unique per node depending on the hardware. This can be configured by creating a node-specific configmap that will be loaded for all OSDs and OSD prepare jobs on that node, instead of the default settings that are loaded from the rook-config-override configmap. + +The node-specific configmaps must have the label: + +```yaml +node.config.rook.io/osd +``` + +The configmaps must follow the naming convention: + +```yaml +rook-config-override- +``` + ### Example In this example we will set the default pool `size` to two, and tell OSD