Browse code

Update --update-parallelism docs

Update documentation to account for the changes in #24952.

docs/swarm/swarm-tutorial/rolling-update.md doesn't need any changes,
but the CLI reference pages should show the current help text.
drain-node.md no longer needs to specify --update-parallelism 1 in its
example.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>

Aaron Lehmann authored on 2016/07/23 11:07:10
Showing 3 changed files
... ...
@@ -40,7 +40,7 @@ Options:
40 40
       --restart-window value         Window used to evaluate the restart policy (default none)
41 41
       --stop-grace-period value      Time to wait before force killing a container (default none)
42 42
       --update-delay duration        Delay between updates
43
-      --update-parallelism uint      Maximum number of tasks updated simultaneously
43
+      --update-parallelism uint      Maximum number of tasks updated simultaneously (0 to update all at once) (default 1)
44 44
   -u, --user string                  Username or UID
45 45
       --with-registry-auth           Send registry authentication details to Swarm agents
46 46
   -w, --workdir string               Working directory inside the container
... ...
@@ -47,7 +47,7 @@ Options:
47 47
       --restart-window value         Window used to evaluate the restart policy (default none)
48 48
       --stop-grace-period value      Time to wait before force killing a container (default none)
49 49
       --update-delay duration        Delay between updates
50
-      --update-parallelism uint      Maximum number of tasks updated simultaneously
50
+      --update-parallelism uint      Maximum number of tasks updated simultaneously (0 to update all at once) (default 1)
51 51
   -u, --user string                  Username or UID
52 52
       --with-registry-auth           Send registry authentication details to Swarm agents
53 53
   -w, --workdir string               Working directory inside the container
... ...
@@ -41,7 +41,7 @@ run your manager node. For example, the tutorial uses a machine named
41 41
 update](rolling-update.md) tutorial, start it now:
42 42
 
43 43
     ```bash
44
-    $ docker service create --replicas 3 --name redis --update-delay 10s --update-parallelism 1 redis:3.0.6
44
+    $ docker service create --replicas 3 --name redis --update-delay 10s redis:3.0.6
45 45
 
46 46
     c5uo6kdmzpon37mgj9mwglcfw
47 47
     ```