diff --git a/engine/swarm/swarm-tutorial/add-nodes.md b/engine/swarm/swarm-tutorial/add-nodes.md index e5626edac6..4a67b137d0 100644 --- a/engine/swarm/swarm-tutorial/add-nodes.md +++ b/engine/swarm/swarm-tutorial/add-nodes.md @@ -2,6 +2,7 @@ description: Add nodes to the swarm keywords: tutorial, cluster management, swarm title: Add nodes to the swarm +notoc: true --- Once you've [created a swarm](create-swarm.md) with a manager node, you're ready @@ -39,7 +40,7 @@ to add worker nodes. worker node. This tutorial uses the name `worker2`. 4. Run the command produced by the `docker swarm init` output from the - [Create a swarm](create-swarm.md) tutorial step to create a second worker + [Create a swarm](create-swarm.md) tutorial step to create a second worker node joined to the existing swarm: ```bash diff --git a/engine/swarm/swarm-tutorial/create-swarm.md b/engine/swarm/swarm-tutorial/create-swarm.md index 0bcec01cd1..f378aa5752 100644 --- a/engine/swarm/swarm-tutorial/create-swarm.md +++ b/engine/swarm/swarm-tutorial/create-swarm.md @@ -2,6 +2,7 @@ description: Initialize the swarm keywords: tutorial, cluster management, swarm mode title: Create a swarm +notoc: true --- After you complete the [tutorial setup](index.md) steps, you're ready diff --git a/engine/swarm/swarm-tutorial/delete-service.md b/engine/swarm/swarm-tutorial/delete-service.md index 8a95854338..b079fed0a5 100644 --- a/engine/swarm/swarm-tutorial/delete-service.md +++ b/engine/swarm/swarm-tutorial/delete-service.md @@ -2,6 +2,7 @@ description: Remove the service from the swarm keywords: tutorial, cluster management, swarm, service title: Delete the service running on the swarm +notoc: true --- The remaining steps in the tutorial don't use the `helloworld` service, so now @@ -31,17 +32,17 @@ you can delete the service from the swarm. 4. Even though the service no longer exists, the task containers take a few seconds to clean up. You can use `docker ps` to verify when they are gone. - + ```bash $ docker ps - + CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES db1651f50347 alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.5.9lkmos2beppihw95vdwxy1j3w 43bf6e532a92 alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.3.a71i8rp6fua79ad43ycocl4t2 5a0fb65d8fa7 alpine:latest "ping docker.com" 44 minutes ago Up 45 seconds helloworld.2.2jpgensh7d935qdc857pxulfr afb0ba67076f alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.4.1c47o7tluz7drve4vkm2m5olx 688172d3bfaa alpine:latest "ping docker.com" 45 minutes ago Up About a minute helloworld.1.74nbhb3fhud8jfrhigd7s29we - + $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS diff --git a/engine/swarm/swarm-tutorial/deploy-service.md b/engine/swarm/swarm-tutorial/deploy-service.md index ca77a1dd5a..9cc3990c6f 100644 --- a/engine/swarm/swarm-tutorial/deploy-service.md +++ b/engine/swarm/swarm-tutorial/deploy-service.md @@ -2,6 +2,7 @@ description: Deploy a service to the swarm keywords: tutorial, cluster management, swarm mode title: Deploy a service to the swarm +notoc: true --- After you [create a swarm](create-swarm.md), you can deploy a service to the diff --git a/engine/swarm/swarm-tutorial/drain-node.md b/engine/swarm/swarm-tutorial/drain-node.md index 7fe7f6488f..a3731edab5 100644 --- a/engine/swarm/swarm-tutorial/drain-node.md +++ b/engine/swarm/swarm-tutorial/drain-node.md @@ -2,6 +2,7 @@ description: Drain nodes on the swarm keywords: tutorial, cluster management, swarm, service, drain title: Drain a node on the swarm +notoc: true --- In earlier steps of the tutorial, all the nodes have been running with `ACTIVE` @@ -121,3 +122,7 @@ drained node to an active state: * during a rolling update * when you set another node to `Drain` availability * when a task fails on another active node + +## What's next? + +Learn how to [use a swarm mode routing mesh](/engine/swarm/ingress.md). diff --git a/engine/swarm/swarm-tutorial/index.md b/engine/swarm/swarm-tutorial/index.md index 515d7994b2..90c0fd7536 100644 --- a/engine/swarm/swarm-tutorial/index.md +++ b/engine/swarm/swarm-tutorial/index.md @@ -2,6 +2,7 @@ description: Getting Started tutorial for Docker Engine swarm mode keywords: tutorial, cluster management, swarm mode title: Getting started with swarm mode +toc_max: 4 --- This tutorial introduces you to the features of Docker Engine Swarm mode. You diff --git a/engine/swarm/swarm-tutorial/inspect-service.md b/engine/swarm/swarm-tutorial/inspect-service.md index 0a5d95b3b1..a72457df54 100644 --- a/engine/swarm/swarm-tutorial/inspect-service.md +++ b/engine/swarm/swarm-tutorial/inspect-service.md @@ -2,6 +2,7 @@ description: Inspect the application keywords: tutorial, cluster management, swarm mode title: Inspect a service on the swarm +notoc: true --- When you have [deployed a service](deploy-service.md) to your swarm, you can use diff --git a/engine/swarm/swarm-tutorial/rolling-update.md b/engine/swarm/swarm-tutorial/rolling-update.md index 3bfc8aa8ba..153a6dc41b 100644 --- a/engine/swarm/swarm-tutorial/rolling-update.md +++ b/engine/swarm/swarm-tutorial/rolling-update.md @@ -2,6 +2,7 @@ description: Apply rolling updates to a service on the swarm keywords: tutorial, cluster management, swarm, service, rolling-update title: Apply rolling updates to a service +notoc: true --- In a previous step of the tutorial, you [scaled](scale-service.md) the number of @@ -145,4 +146,6 @@ desired state: `redis:3.0.6` while others are running `redis:3.0.7`. The output above shows the state once the rolling updates are done. +## What's next? + Next, learn about how to [drain a node](drain-node.md) in the swarm. diff --git a/engine/swarm/swarm-tutorial/scale-service.md b/engine/swarm/swarm-tutorial/scale-service.md index 78d3135479..2063e516c6 100644 --- a/engine/swarm/swarm-tutorial/scale-service.md +++ b/engine/swarm/swarm-tutorial/scale-service.md @@ -2,6 +2,7 @@ description: Scale the service running in the swarm keywords: tutorial, cluster management, swarm mode, scale title: Scale the service in the swarm +notoc: true --- Once you have [deployed a service](deploy-service.md) to a swarm, you are ready