]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm/services: Add missing ceph command to orch apply 46066/head
authorbluikko <14869000+bluikko@users.noreply.github.com>
Thu, 28 Apr 2022 06:42:31 +0000 (13:42 +0700)
committerbluikko <14869000+bluikko@users.noreply.github.com>
Sun, 1 May 2022 03:39:47 +0000 (10:39 +0700)
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>
doc/cephadm/services/index.rst

index efc8ed8f2cc3b12c476bc675049a9b3a36659342..be9b3661a9e245980c0b7e1205d1d4c413ae2799 100644 (file)
@@ -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.