doc/cephadm: document _no_schedule label

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2021-04-20 10:07:03 -04:00
parent ba135842e3
commit c7dae3ceb7
2 changed files with 19 additions and 1 deletions

View File

@ -117,7 +117,21 @@ To remove a label, run::
ceph orch host label rm my_hostname my_label
.. _cephadm-special-host-labels:
Special host labels
-------------------
The following host labels have a special meaning to cephadm. All start with ``_``.
* ``_no_schedule``: *Do not schedule or deploy daemons on this host*.
This label prevents cephadm from deploying daemons on this host. If it is added to
an existing host that already contains Ceph daemons, it will cause cephadm to move
those daemons elsewhere (except OSDs, which are not removed automatically).
Maintenance Mode
================

View File

@ -132,6 +132,10 @@ For the orchestrator to deploy a *service*, it needs to know where to deploy
specification. Placement specifications can either be passed as command line arguments
or in a YAML files.
.. note::
cephadm will not deploy daemons on hosts with the ``_no_schedule`` label; see :ref:`cephadm-special-host-labels`.
Explicit placements
-------------------