]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Wed, 1 Apr 2020 09:34:18 +0000 (11:34 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
doc/mgr/orchestrator.rst

index 6d86ad83cb18f5445bf1c4195704d23433e0b988..440961f1b7dcea530a1c9828996f3e539594d691 100644 (file)
@@ -406,7 +406,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:
 
@@ -414,9 +414,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
 ---------------