From fa5b93ef04559acebdb9d96e1dd543eec520336e Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Tue, 15 Mar 2022 11:51:31 -0600 Subject: [PATCH] docs: add annotations to restart ceph daemons If the ceph daemons need to be restarted after applying the custom ceph.conf, adding annotations or labels to the cluster CR is perhaps the simplest way to automate the rolling update. Signed-off-by: Travis Nielsen (cherry picked from commit 027477a890570c7bc9a7a50cbe76b65485f001bb) --- Documentation/ceph-advanced-configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/ceph-advanced-configuration.md b/Documentation/ceph-advanced-configuration.md index 0f13cde61..1d32d1908 100644 --- a/Documentation/ceph-advanced-configuration.md +++ b/Documentation/ceph-advanced-configuration.md @@ -241,6 +241,11 @@ After the pod restart, the new settings should be in effect. Note that if the Co cluster's namespace is created before the cluster is created, the daemons will pick up the settings at first launch. +To automate the restart of the Ceph daemon pods, you will need to trigger an update to the pod specs. +The simplest way to trigger the update is to add [annotations or labels](ceph-cluster-crd.md#annotations-and-labels) +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. + ### Example In this example we will set the default pool `size` to two, and tell OSD