doc/mgr/orchestrator: Update Placement by pattern matching

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
Sebastian Wagner 2020-04-01 11:33:51 +02:00
parent 8d4487527e
commit b740ae12e5

View 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
---------------