From 563b1b858f9f1bc1f1b5e48256254dbb771271aa Mon Sep 17 00:00:00 2001 From: bluikko <14869000+bluikko@users.noreply.github.com> Date: Thu, 28 Apr 2022 13:42:31 +0700 Subject: [PATCH] doc/cephadm/services: Add missing ceph command to orch apply In cephadm service management documentation several of the ceph orch commands are missing the ceph part, mostly in ceph orch apply commands but not all of them. Add ceph in the front of the command to make them consistent with all other commands. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> (cherry picked from commit 4d96410826f31ea9c3bf5f3322a9391e257ffb76) --- doc/cephadm/services/index.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/cephadm/services/index.rst b/doc/cephadm/services/index.rst index efc8ed8f2cc3b..be9b3661a9e24 100644 --- a/doc/cephadm/services/index.rst +++ b/doc/cephadm/services/index.rst @@ -252,7 +252,7 @@ Daemons can be explicitly placed on hosts by simply specifying them: .. prompt:: bash # - orch apply prometheus --placement="host1 host2 host3" + ceph orch apply prometheus --placement="host1 host2 host3" Or in YAML: @@ -269,7 +269,7 @@ MONs and other services may require some enhanced network specifications: .. prompt:: bash # - orch daemon add mon --placement="myhost:[v2:1.2.3.4:3300,v1:1.2.3.4:6789]=name" + ceph orch daemon add mon --placement="myhost:[v2:1.2.3.4:3300,v1:1.2.3.4:6789]=name" where ``[v2:1.2.3.4:3300,v1:1.2.3.4:6789]`` is the network address of the monitor and ``=name`` specifies the name of the new monitor. @@ -315,7 +315,7 @@ this command: .. prompt:: bash # - orch apply prometheus --placement="label:mylabel" + ceph orch apply prometheus --placement="label:mylabel" Or in YAML: @@ -334,7 +334,7 @@ Daemons can be placed on hosts as well: .. prompt:: bash # - orch apply prometheus --placement='myhost[1-3]' + ceph orch apply prometheus --placement='myhost[1-3]' Or in YAML: @@ -348,7 +348,7 @@ To place a service on *all* hosts, use ``"*"``: .. prompt:: bash # - orch apply node-exporter --placement='*' + ceph orch apply node-exporter --placement='*' Or in YAML: @@ -366,19 +366,19 @@ By specifying ``count``, only the number of daemons specified will be created: .. prompt:: bash # - orch apply prometheus --placement=3 + ceph orch apply prometheus --placement=3 To deploy *daemons* on a subset of hosts, specify the count: .. prompt:: bash # - orch apply prometheus --placement="2 host1 host2 host3" + ceph orch apply prometheus --placement="2 host1 host2 host3" If the count is bigger than the amount of hosts, cephadm deploys one per host: .. prompt:: bash # - orch apply prometheus --placement="3 host1 host2" + ceph orch apply prometheus --placement="3 host1 host2" The command immediately above results in two Prometheus daemons. -- 2.39.5