From b37dd95eef2f13b825ee159d22907efea4826cb9 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 25 Feb 2021 15:17:36 +0100 Subject: [PATCH] doc/cephadm: move host labels to host mgmt Signed-off-by: Sebastian Wagner (cherry picked from commit a4aef4a49db70c310372ebc59b3ef6941333b878) --- doc/cephadm/host-management.rst | 18 ++++++++++++++++++ doc/mgr/orchestrator.rst | 20 -------------------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index e1dbd51004969..e91553ddcddb4 100644 --- a/doc/cephadm/host-management.rst +++ b/doc/cephadm/host-management.rst @@ -91,6 +91,24 @@ the following command on the host: cephadm rm-daemon --fsid CLUSTER_ID --name SERVICE_NAME +.. _orchestrator-host-labels: + +Host labels +=========== + +The orchestrator supports assigning labels to hosts. Labels +are free form and have no particular meaning by itself and each host +can have multiple labels. They can be used to specify placement +of daemons. See :ref:`orch-placement-by-labels` + +To add a label, run:: + + ceph orch host label add my_hostname my_label + +To remove a label, run:: + + ceph orch host label rm my_hostname my_label + Maintenance Mode ================ diff --git a/doc/mgr/orchestrator.rst b/doc/mgr/orchestrator.rst index 2a634e84d59a5..7174eb69c1c1c 100644 --- a/doc/mgr/orchestrator.rst +++ b/doc/mgr/orchestrator.rst @@ -59,26 +59,6 @@ Show current orchestrator mode and high-level status (whether the orchestrator plugin is available and operational) -.. _orchestrator-host-labels: - -Host labels ------------ - -The orchestrator supports assigning labels to hosts. Labels -are free form and have no particular meaning by itself and each host -can have multiple labels. They can be used to specify placement -of daemons. See :ref:`orch-placement-by-labels` - -To add a label, run:: - - ceph orch host label add my_hostname my_label - -To remove a label, run:: - - ceph orch host label rm my_hostname my_label - - - .. Turn On Device Lights ^^^^^^^^^^^^^^^^^^^^^ -- 2.39.5