From: Sebastian Wagner Date: Thu, 25 Feb 2021 14:17:36 +0000 (+0100) Subject: doc/cephadm: move host labels to host mgmt X-Git-Tag: v16.2.0~119^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b37dd95eef2f13b825ee159d22907efea4826cb9;p=ceph.git doc/cephadm: move host labels to host mgmt Signed-off-by: Sebastian Wagner (cherry picked from commit a4aef4a49db70c310372ebc59b3ef6941333b878) --- diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index e1dbd5100496..e91553ddcddb 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 2a634e84d59a..7174eb69c1c1 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 ^^^^^^^^^^^^^^^^^^^^^