Browse code

Update usage of "Swarm" for consistency

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2016/07/26 08:24:32
Showing 16 changed files
... ...
@@ -42,16 +42,16 @@ const (
42 42
 )
43 43
 
44 44
 // ErrNoSwarm is returned on leaving a cluster that was never initialized
45
-var ErrNoSwarm = fmt.Errorf("This node is not part of swarm")
45
+var ErrNoSwarm = fmt.Errorf("This node is not part of a swarm")
46 46
 
47 47
 // ErrSwarmExists is returned on initialize or join request for a cluster that has already been activated
48
-var ErrSwarmExists = fmt.Errorf("This node is already part of a swarm cluster. Use \"docker swarm leave\" to leave this cluster and join another one.")
48
+var ErrSwarmExists = fmt.Errorf("This node is already part of a swarm. Use \"docker swarm leave\" to leave this swarm and join another one.")
49 49
 
50 50
 // ErrPendingSwarmExists is returned on initialize or join request for a cluster that is already processing a similar request but has not succeeded yet.
51 51
 var ErrPendingSwarmExists = fmt.Errorf("This node is processing an existing join request that has not succeeded yet. Use \"docker swarm leave\" to cancel the current request.")
52 52
 
53 53
 // ErrSwarmJoinTimeoutReached is returned when cluster join could not complete before timeout was reached.
54
-var ErrSwarmJoinTimeoutReached = fmt.Errorf("Timeout was reached before node was joined. Attempt to join the cluster will continue in the background. Use \"docker info\" command to see the current swarm status of your node.")
54
+var ErrSwarmJoinTimeoutReached = fmt.Errorf("Timeout was reached before node was joined. The attempt to join the swarm will continue in the background. Use the \"docker info\" command to see the current swarm status of your node.")
55 55
 
56 56
 // defaultSpec contains some sane defaults if cluster options are missing on init
57 57
 var defaultSpec = types.Spec{
... ...
@@ -519,24 +519,24 @@ func (c *Cluster) Leave(force bool) error {
519 519
 	}
520 520
 
521 521
 	if node.Manager() != nil && !force {
522
-		msg := "You are attempting to leave cluster on a node that is participating as a manager. "
522
+		msg := "You are attempting to leave the swarm on a node that is participating as a manager. "
523 523
 		if c.isActiveManager() {
524 524
 			active, reachable, unreachable, err := c.managerStats()
525 525
 			if err == nil {
526 526
 				if active && reachable-2 <= unreachable {
527 527
 					if reachable == 1 && unreachable == 0 {
528
-						msg += "Removing the last manager will erase all current state of the cluster. Use `--force` to ignore this message. "
528
+						msg += "Removing the last manager erases all current state of the swarm. Use `--force` to ignore this message. "
529 529
 						c.Unlock()
530 530
 						return fmt.Errorf(msg)
531 531
 					}
532
-					msg += fmt.Sprintf("Leaving the cluster will leave you with %v managers out of %v. This means Raft quorum will be lost and your cluster will become inaccessible. ", reachable-1, reachable+unreachable)
532
+					msg += fmt.Sprintf("Removing this node leaves %v managers out of %v. Without a Raft quorum your swarm will be inaccessible. ", reachable-1, reachable+unreachable)
533 533
 				}
534 534
 			}
535 535
 		} else {
536 536
 			msg += "Doing so may lose the consensus of your cluster. "
537 537
 		}
538 538
 
539
-		msg += "The only way to restore a cluster that has lost consensus is to reinitialize it with `--force-new-cluster`. Use `--force` to ignore this message."
539
+		msg += "The only way to restore a swarm that has lost consensus is to reinitialize it with `--force-new-cluster`. Use `--force` to suppress this message."
540 540
 		c.Unlock()
541 541
 		return fmt.Errorf(msg)
542 542
 	}
... ...
@@ -3323,7 +3323,7 @@ Instruct the driver to remove the network (`id`).
3323 3323
 
3324 3324
 ## 3.6 Nodes
3325 3325
 
3326
-**Note**: Nodes operations require to first be part of a Swarm.
3326
+**Note**: Node operations require the engine to be part of a swarm.
3327 3327
 
3328 3328
 ### List nodes
3329 3329
 
... ...
@@ -3573,12 +3573,12 @@ Return low-level information on the node `id`
3573 3573
 
3574 3574
 ## 3.7 Swarm
3575 3575
 
3576
-### Initialize a new Swarm
3576
+### Initialize a new swarm
3577 3577
 
3578 3578
 
3579 3579
 `POST /swarm/init`
3580 3580
 
3581
-Initialize a new Swarm
3581
+Initialize a new swarm
3582 3582
 
3583 3583
 **Example request**:
3584 3584
 
... ...
@@ -3607,7 +3607,7 @@ Initialize a new Swarm
3607 3607
 
3608 3608
 - **200** – no error
3609 3609
 - **400** – bad parameter
3610
-- **406** – node is already part of a Swarm
3610
+- **406** – node is already part of a swarm
3611 3611
 
3612 3612
 JSON Parameters:
3613 3613
 
... ...
@@ -3621,9 +3621,9 @@ JSON Parameters:
3621 3621
   number, like `eth0:4567`. If the port number is omitted, the port number from the listen
3622 3622
   address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when
3623 3623
   possible.
3624
-- **ForceNewCluster** – Force creating a new Swarm even if already part of one.
3625
-- **Spec** – Configuration settings of the new Swarm.
3626
-    - **Orchestration** – Configuration settings for the orchestration aspects of the Swarm.
3624
+- **ForceNewCluster** – Force creation of a new swarm.
3625
+- **Spec** – Configuration settings for the new swarm.
3626
+    - **Orchestration** – Configuration settings for the orchestration aspects of the swarm.
3627 3627
         - **TaskHistoryRetentionLimit** – Maximum number of tasks history stored.
3628 3628
     - **Raft** – Raft related configuration.
3629 3629
         - **SnapshotInterval** – Number of logs entries between snapshot.
... ...
@@ -3645,12 +3645,11 @@ JSON Parameters:
3645 3645
             - **Options** - An object with key/value pairs that are interpreted
3646 3646
               as protocol-specific options for the external CA driver.
3647 3647
 
3648
-### Join an existing Swarm
3649
-
3648
+### Join an existing swarm
3650 3649
 
3651 3650
 `POST /swarm/join`
3652 3651
 
3653
-Join an existing new Swarm
3652
+Join an existing swarm
3654 3653
 
3655 3654
 **Example request**:
3656 3655
 
... ...
@@ -3659,7 +3658,7 @@ Join an existing new Swarm
3659 3659
 
3660 3660
     {
3661 3661
       "ListenAddr": "0.0.0.0:4500",
3662
-      "AdvertiseAddr: "192.168.1.1:4500",
3662
+      "AdvertiseAddr": "192.168.1.1:4500",
3663 3663
       "RemoteAddrs": ["node1:4500"],
3664 3664
       "JoinToken": "SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2"
3665 3665
     }
... ...
@@ -3674,7 +3673,7 @@ Join an existing new Swarm
3674 3674
 
3675 3675
 - **200** – no error
3676 3676
 - **400** – bad parameter
3677
-- **406** – node is already part of a Swarm
3677
+- **406** – node is already part of a swarm
3678 3678
 
3679 3679
 JSON Parameters:
3680 3680
 
... ...
@@ -3685,15 +3684,15 @@ JSON Parameters:
3685 3685
   number, like `eth0:4567`. If the port number is omitted, the port number from the listen
3686 3686
   address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when
3687 3687
   possible.
3688
-- **RemoteAddr** – Address of any manager node already participating in the Swarm to join.
3688
+- **RemoteAddr** – Address of any manager node already participating in the swarm.
3689 3689
 - **JoinToken** – Secret token for joining this Swarm.
3690 3690
 
3691
-### Leave a Swarm
3691
+### Leave a swarm
3692 3692
 
3693 3693
 
3694 3694
 `POST /swarm/leave`
3695 3695
 
3696
-Leave a Swarm
3696
+Leave a swarm
3697 3697
 
3698 3698
 **Example request**:
3699 3699
 
... ...
@@ -3708,14 +3707,14 @@ Leave a Swarm
3708 3708
 **Status codes**:
3709 3709
 
3710 3710
 - **200** – no error
3711
-- **406** – node is not part of a Swarm
3711
+- **406** – node is not part of a swarm
3712 3712
 
3713
-### Update a Swarm
3713
+### Update a swarm
3714 3714
 
3715 3715
 
3716 3716
 `POST /swarm/update`
3717 3717
 
3718
-Update a Swarm
3718
+Update a swarm
3719 3719
 
3720 3720
 **Example request**:
3721 3721
 
... ...
@@ -3762,11 +3761,11 @@ Update a Swarm
3762 3762
 
3763 3763
 - **200** – no error
3764 3764
 - **400** – bad parameter
3765
-- **406** – node is not part of a Swarm
3765
+- **406** – node is not part of a swarm
3766 3766
 
3767 3767
 JSON Parameters:
3768 3768
 
3769
-- **Orchestration** – Configuration settings for the orchestration aspects of the Swarm.
3769
+- **Orchestration** – Configuration settings for the orchestration aspects of the swarm.
3770 3770
     - **TaskHistoryRetentionLimit** – Maximum number of tasks history stored.
3771 3771
 - **Raft** – Raft related configuration.
3772 3772
     - **SnapshotInterval** – Number of logs entries between snapshot.
... ...
@@ -3787,13 +3786,13 @@ JSON Parameters:
3787 3787
         - **URL** - URL where certificate signing requests should be sent.
3788 3788
         - **Options** - An object with key/value pairs that are interpreted
3789 3789
           as protocol-specific options for the external CA driver.
3790
-- **JoinTokens** - Tokens that can be used by other nodes to join the Swarm.
3790
+- **JoinTokens** - Tokens that can be used by other nodes to join the swarm.
3791 3791
     - **Worker** - Token to use for joining as a worker.
3792 3792
     - **Manager** - Token to use for joining as a manager.
3793 3793
 
3794 3794
 ## 3.8 Services
3795 3795
 
3796
-**Note**: Service operations require to first be part of a Swarm.
3796
+**Note**: Service operations require to first be part of a swarm.
3797 3797
 
3798 3798
 ### List services
3799 3799
 
... ...
@@ -3979,7 +3978,7 @@ Create a service
3979 3979
 **Status codes**:
3980 3980
 
3981 3981
 - **201** – no error
3982
-- **406** – server error or node is not part of a Swarm
3982
+- **406** – server error or node is not part of a swarm
3983 3983
 
3984 3984
 JSON Parameters:
3985 3985
 
... ...
@@ -4277,7 +4276,7 @@ Update the service `id`.
4277 4277
 
4278 4278
 ## 3.9 Tasks
4279 4279
 
4280
-**Note**: Tasks operations require to first be part of a Swarm.
4280
+**Note**: Task operations require the engine to be part of a swarm.
4281 4281
 
4282 4282
 ### List tasks
4283 4283
 
... ...
@@ -2281,7 +2281,7 @@ Show the docker version information
2281 2281
     Content-Type: application/json
2282 2282
 
2283 2283
     {
2284
-         "Version": "1.12.0-dev",
2284
+         "Version": "1.13.0",
2285 2285
          "Os": "linux",
2286 2286
          "KernelVersion": "3.19.0-23-generic",
2287 2287
          "GoVersion": "go1.6.3",
... ...
@@ -3324,7 +3324,7 @@ Instruct the driver to remove the network (`id`).
3324 3324
 
3325 3325
 ## 3.6 Nodes
3326 3326
 
3327
-**Note**: Nodes operations require to first be part of a Swarm.
3327
+**Note**: Node operations require the engine to be part of a swarm.
3328 3328
 
3329 3329
 ### List nodes
3330 3330
 
... ...
@@ -3574,12 +3574,12 @@ Return low-level information on the node `id`
3574 3574
 
3575 3575
 ## 3.7 Swarm
3576 3576
 
3577
-### Initialize a new Swarm
3577
+### Initialize a new swarm
3578 3578
 
3579 3579
 
3580 3580
 `POST /swarm/init`
3581 3581
 
3582
-Initialize a new Swarm
3582
+Initialize a new swarm
3583 3583
 
3584 3584
 **Example request**:
3585 3585
 
... ...
@@ -3608,7 +3608,7 @@ Initialize a new Swarm
3608 3608
 
3609 3609
 - **200** – no error
3610 3610
 - **400** – bad parameter
3611
-- **406** – node is already part of a Swarm
3611
+- **406** – node is already part of a swarm
3612 3612
 
3613 3613
 JSON Parameters:
3614 3614
 
... ...
@@ -3622,9 +3622,9 @@ JSON Parameters:
3622 3622
   number, like `eth0:4567`. If the port number is omitted, the port number from the listen
3623 3623
   address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when
3624 3624
   possible.
3625
-- **ForceNewCluster** – Force creating a new Swarm even if already part of one.
3626
-- **Spec** – Configuration settings of the new Swarm.
3627
-    - **Orchestration** – Configuration settings for the orchestration aspects of the Swarm.
3625
+- **ForceNewCluster** – Force creation of a new swarm.
3626
+- **Spec** – Configuration settings for the new swarm.
3627
+    - **Orchestration** – Configuration settings for the orchestration aspects of the swarm.
3628 3628
         - **TaskHistoryRetentionLimit** – Maximum number of tasks history stored.
3629 3629
     - **Raft** – Raft related configuration.
3630 3630
         - **SnapshotInterval** – Number of logs entries between snapshot.
... ...
@@ -3646,12 +3646,11 @@ JSON Parameters:
3646 3646
             - **Options** - An object with key/value pairs that are interpreted
3647 3647
               as protocol-specific options for the external CA driver.
3648 3648
 
3649
-### Join an existing Swarm
3650
-
3649
+### Join an existing swarm
3651 3650
 
3652 3651
 `POST /swarm/join`
3653 3652
 
3654
-Join an existing new Swarm
3653
+Join an existing swarm
3655 3654
 
3656 3655
 **Example request**:
3657 3656
 
... ...
@@ -3675,7 +3674,7 @@ Join an existing new Swarm
3675 3675
 
3676 3676
 - **200** – no error
3677 3677
 - **400** – bad parameter
3678
-- **406** – node is already part of a Swarm
3678
+- **406** – node is already part of a swarm
3679 3679
 
3680 3680
 JSON Parameters:
3681 3681
 
... ...
@@ -3686,15 +3685,15 @@ JSON Parameters:
3686 3686
   number, like `eth0:4567`. If the port number is omitted, the port number from the listen
3687 3687
   address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when
3688 3688
   possible.
3689
-- **RemoteAddr** – Address of any manager node already participating in the Swarm to join.
3689
+- **RemoteAddr** – Address of any manager node already participating in the swarm.
3690 3690
 - **JoinToken** – Secret token for joining this Swarm.
3691 3691
 
3692
-### Leave a Swarm
3692
+### Leave a swarm
3693 3693
 
3694 3694
 
3695 3695
 `POST /swarm/leave`
3696 3696
 
3697
-Leave a Swarm
3697
+Leave a swarm
3698 3698
 
3699 3699
 **Example request**:
3700 3700
 
... ...
@@ -3709,14 +3708,14 @@ Leave a Swarm
3709 3709
 **Status codes**:
3710 3710
 
3711 3711
 - **200** – no error
3712
-- **406** – node is not part of a Swarm
3712
+- **406** – node is not part of a swarm
3713 3713
 
3714
-### Update a Swarm
3714
+### Update a swarm
3715 3715
 
3716 3716
 
3717 3717
 `POST /swarm/update`
3718 3718
 
3719
-Update a Swarm
3719
+Update a swarm
3720 3720
 
3721 3721
 **Example request**:
3722 3722
 
... ...
@@ -3763,11 +3762,11 @@ Update a Swarm
3763 3763
 
3764 3764
 - **200** – no error
3765 3765
 - **400** – bad parameter
3766
-- **406** – node is not part of a Swarm
3766
+- **406** – node is not part of a swarm
3767 3767
 
3768 3768
 JSON Parameters:
3769 3769
 
3770
-- **Orchestration** – Configuration settings for the orchestration aspects of the Swarm.
3770
+- **Orchestration** – Configuration settings for the orchestration aspects of the swarm.
3771 3771
     - **TaskHistoryRetentionLimit** – Maximum number of tasks history stored.
3772 3772
 - **Raft** – Raft related configuration.
3773 3773
     - **SnapshotInterval** – Number of logs entries between snapshot.
... ...
@@ -3788,13 +3787,13 @@ JSON Parameters:
3788 3788
         - **URL** - URL where certificate signing requests should be sent.
3789 3789
         - **Options** - An object with key/value pairs that are interpreted
3790 3790
           as protocol-specific options for the external CA driver.
3791
-- **JoinTokens** - Tokens that can be used by other nodes to join the Swarm.
3791
+- **JoinTokens** - Tokens that can be used by other nodes to join the swarm.
3792 3792
     - **Worker** - Token to use for joining as a worker.
3793 3793
     - **Manager** - Token to use for joining as a manager.
3794 3794
 
3795 3795
 ## 3.8 Services
3796 3796
 
3797
-**Note**: Service operations require to first be part of a Swarm.
3797
+**Note**: Service operations require to first be part of a swarm.
3798 3798
 
3799 3799
 ### List services
3800 3800
 
... ...
@@ -3980,7 +3979,7 @@ Create a service
3980 3980
 **Status codes**:
3981 3981
 
3982 3982
 - **201** – no error
3983
-- **406** – server error or node is not part of a Swarm
3983
+- **406** – server error or node is not part of a swarm
3984 3984
 
3985 3985
 JSON Parameters:
3986 3986
 
... ...
@@ -4074,7 +4073,7 @@ Stop and remove the service `id`
4074 4074
 -   **404** – no such service
4075 4075
 -   **500** – server error
4076 4076
 
4077
-### Inspect one or more service
4077
+### Inspect one or more services
4078 4078
 
4079 4079
 
4080 4080
 `GET /services/(id or name)`
... ...
@@ -4278,7 +4277,7 @@ Update the service `id`.
4278 4278
 
4279 4279
 ## 3.9 Tasks
4280 4280
 
4281
-**Note**: Tasks operations require to first be part of a Swarm.
4281
+**Note**: Task operations require the engine to be part of a swarm.
4282 4282
 
4283 4283
 ### List tasks
4284 4284
 
... ...
@@ -38,7 +38,7 @@ available on the volume where `/var/lib/docker` is mounted.
38 38
 ## Display Docker system information
39 39
 
40 40
 Here is a sample output for a daemon running on Ubuntu, using the overlay
41
-storage driver and a node that is part of a 2 node swarm cluster:
41
+storage driver and a node that is part of a 2-node swarm:
42 42
 
43 43
     $ docker -D info
44 44
     Containers: 14
... ...
@@ -20,7 +20,7 @@ Options:
20 20
 
21 21
 ```
22 22
 
23
-Demotes an existing manager so that it is no longer a manager. This command targets a docker engine that is a manager in the swarm cluster.
23
+Demotes an existing manager so that it is no longer a manager. This command targets a docker engine that is a manager in the swarm.
24 24
 
25 25
 
26 26
 ```bash
... ...
@@ -19,7 +19,7 @@ Options:
19 19
       --help   Print usage
20 20
 ```
21 21
 
22
-Promotes a node that is pending a promotion to manager. This command targets a docker engine that is a manager in the swarm cluster.
22
+Promotes a node to manager. This command targets a docker engine that is a manager in the swarm.
23 23
 
24 24
 
25 25
 ```bash
... ...
@@ -26,8 +26,8 @@ Options:
26 26
       --task-history-limit int          Task history retention limit (default 5)
27 27
 ```
28 28
 
29
-Initialize a swarm cluster. The docker engine targeted by this command becomes a manager
30
-in the newly created one node swarm cluster.
29
+Initialize a swarm. The docker engine targeted by this command becomes a manager
30
+in the newly created single-node swarm.
31 31
 
32 32
 
33 33
 ```bash
... ...
@@ -23,7 +23,7 @@ Options:
23 23
       --task-history-limit int          Task history retention limit (default 5)
24 24
 ```
25 25
 
26
-Updates a swarm cluster with new parameter values. This command must target a manager node.
26
+Updates a swarm with new parameter values. This command must target a manager node.
27 27
 
28 28
 
29 29
 ```bash
... ...
@@ -199,7 +199,7 @@ di9wxgz8dtuh9d2hn089ecqkf    node06    Accepted    Ready   Active
199 199
 
200 200
 ## Manager advertise address
201 201
 
202
-When initiating or joining a Swarm cluster, you have to specify the `--listen-addr`
202
+When initiating or joining a swarm, you have to specify the `--listen-addr`
203 203
 flag to advertise your address to other Manager nodes in the cluster.
204 204
 
205 205
 We recommend that you use a *fixed IP address* for the advertised address, otherwise
... ...
@@ -17,7 +17,7 @@ repository](https://github.com/docker/docker/releases). Alternatively, install
17 17
 the latest Docker for Mac or Docker for Windows Beta.
18 18
 
19 19
 Docker Engine 1.12 includes swarm mode for natively managing a cluster of
20
-Docker Engines called a Swarm. Use the Docker CLI to create a swarm, deploy
20
+Docker Engines called a *swarm*. Use the Docker CLI to create a swarm, deploy
21 21
 application services to a swarm, and manage swarm behavior.
22 22
 
23 23
 
... ...
@@ -27,9 +27,9 @@ Swarm](https://docs.docker.com/swarm).
27 27
 ## Feature highlights
28 28
 
29 29
 * **Cluster management integrated with Docker Engine:** Use the Docker Engine
30
-CLI to create a Swarm of Docker Engines where you can deploy application
30
+CLI to create a swarm of Docker Engines where you can deploy application
31 31
 services. You don't need additional orchestration software to create or manage
32
-a Swarm.
32
+a swarm.
33 33
 
34 34
 * **Decentralized design:** Instead of handling differentiation between node
35 35
 roles at deployment time, the Docker Engine handles any specialization at
... ...
@@ -75,7 +75,7 @@ availability. Because swarm mode manager nodes share data using Raft, there
75 75
 must be an odd number of managers. The swarm can continue to function after as
76 76
 long as a quorum of more than half of the manager nodes are available.
77 77
 
78
-For more detail about swarm managers and administering a swarm cluster, see
78
+For more detail about swarm managers and administering a swarm, see
79 79
 [Administer and maintain a swarm of Docker Engines](admin_guide.md).
80 80
 
81 81
 To retrieve the join command including the join token for manager nodes, run the
... ...
@@ -77,7 +77,7 @@ PublishedPort for the service in the 30000-32767 range.
77 77
 
78 78
 External components, such as cloud load balancers, can access the service on the
79 79
 PublishedPort of any node in the cluster whether or not the node is currently
80
-running the task for the service.  All nodes in the swarm cluster route ingress
80
+running the task for the service.  All nodes in the swarm route ingress
81 81
 connections to a running task instance.
82 82
 
83 83
 Swarm mode has an internal DNS component that automatically assigns each service
... ...
@@ -1,7 +1,7 @@
1 1
 <!--[metadata]>
2 2
 +++
3 3
 title = "Drain a node"
4
-description = "Drain nodes on the Swarm"
4
+description = "Drain nodes on the swarm"
5 5
 keywords = ["tutorial, cluster management, swarm, service, drain"]
6 6
 [menu.main]
7 7
 identifier="swarm-tutorial-drain-node"
... ...
@@ -45,7 +45,7 @@ update](rolling-update.md) tutorial, start it now:
45 45
     c5uo6kdmzpon37mgj9mwglcfw
46 46
     ```
47 47
 
48
-4. Run `docker service ps redis` to see how the Swarm manager assigned the
48
+4. Run `docker service ps redis` to see how the swarm manager assigned the
49 49
 tasks to different nodes:
50 50
 
51 51
     ```bash
... ...
@@ -84,7 +84,7 @@ had a task assigned to it:
84 84
 
85 85
     The drained node shows `Drain` for `AVAILABILITY`.
86 86
 
87
-7. Run `docker service ps redis` to see how the Swarm manager updated the
87
+7. Run `docker service ps redis` to see how the swarm manager updated the
88 88
 task assignments for the `redis` service:
89 89
 
90 90
     ```bash
... ...
@@ -103,7 +103,7 @@ service:
103 103
 
104 104
     In this case, the one instance of the `helloworld` service is running on the
105 105
     `worker2` node. You may see the service running on your manager node. By
106
-    default, manager nodes in a Swarm can execute tasks just like worker nodes.
106
+    default, manager nodes in a swarm can execute tasks just like worker nodes.
107 107
 
108 108
     Swarm also shows you the `DESIRED STATE` and `LAST STATE` of the service
109 109
     task so you can see if tasks are running according to the service
... ...
@@ -1,7 +1,7 @@
1 1
 <!--[metadata]>
2 2
 +++
3 3
 title = "Apply rolling updates"
4
-description = "Apply rolling updates to a service on the Swarm"
4
+description = "Apply rolling updates to a service on the swarm"
5 5
 keywords = ["tutorial, cluster management, swarm, service, rolling-update"]
6 6
 [menu.main]
7 7
 identifier="swarm-tutorial-rolling-update"
... ...
@@ -148,4 +148,4 @@ desired state:
148 148
     `redis:3.0.6` while others are running `redis:3.0.7`. The output above shows
149 149
     the state once the rolling updates are done.
150 150
 
151
-Next, learn about how to [drain a node](drain-node.md) in the Swarm.
151
+Next, learn about how to [drain a node](drain-node.md) in the swarm.
... ...
@@ -462,7 +462,7 @@ Docker Engine for use with `overlay` network. There are three options to set:
462 462
     </tbody>
463 463
 </table>
464 464
 
465
-Create an `overlay` network on one of the machines in the Swarm.
465
+Create an `overlay` network on one of the machines in the swarm.
466 466
 
467 467
     $ docker network create --driver overlay my-multi-host-network
468 468