Update services.md

Tasks, not services are scheduled on nodes.
This commit is contained in:
orlvn 2018-10-29 17:29:36 +01:00 committed by GitHub
parent 9bed242674
commit a2a0a73764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ For more information on constraints, refer to the `docker service create`
#### Placement preferences #### Placement preferences
While [placement constraints](#placement-constraints) limit the nodes a service While [placement constraints](#placement-constraints) limit the nodes a service
can run on, _placement preferences_ try to place services on appropriate nodes can run on, _placement preferences_ try to place tasks on appropriate nodes
in an algorithmic way (currently, only spread evenly). For instance, if you in an algorithmic way (currently, only spread evenly). For instance, if you
assign each node a `rack` label, you can set a placement preference to spread assign each node a `rack` label, you can set a placement preference to spread
the service evenly across nodes with the `rack` label, by value. This way, if the service evenly across nodes with the `rack` label, by value. This way, if