]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/orchestrator: Update `Placement by pattern matching`
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 1 Apr 2020 09:33:51 +0000 (11:33 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 3 Apr 2020 13:18:28 +0000 (15:18 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit b740ae12e54e69e21fa06081d47b0ed4f90fac41)

doc/mgr/orchestrator.rst

index 7fe7cf9cc35ad9cf19abb2a12a153f8912275013..47545f7f9cd9efc8a7ef2a3cdc7703469dcc672d 100644 (file)
@@ -395,7 +395,7 @@ Placement by pattern matching
 
 Daemons can be placed on hosts as well::
 
-    orch apply prometheus '*'
+    orch apply prometheus 'myhost[1-3]'
 
 Or in yaml:
 
@@ -403,9 +403,21 @@ Or in yaml:
 
     service_type: prometheus
     placement:
-      all_hosts: true
+      host_pattern: "myhost[1-3]"
 
+To place a service on *all* hosts, use ``"*"``::
 
+    orch apply crash '*'
+
+Or in yaml:
+
+.. code-block:: yaml
+
+    service_type: node-exporter
+    placement:
+      host_pattern: "*"
+
+    
 Setting a limit
 ---------------