Skip to content

Commit

Permalink
Update docs/reference/commandline/service_create.md
Browse files Browse the repository at this point in the history
Co-Authored-By: olljanat <[email protected]>
  • Loading branch information
thaJeztah and olljanat authored Feb 22, 2019
1 parent 758a232 commit bb7be90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/commandline/service_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ argument.
Use the `--replicas-max-per-node` flag to set the maximum number of replica tasks that can run on a node.
The following command creates a nginx service with 2 replica tasks but only one replica task per node.

One example of where this can be useful is to balance tasks over a set of datacenters together with `--placement-pref`
One example where this can be useful is to balance tasks over a set of data centers together with `--placement-pref`
and let `--replicas-max-per-node` setting make sure that replicas are not migrated to another datacenter during
maintenance or datacenter failure.

Expand Down

0 comments on commit bb7be90

Please sign in to comment.