swarm mode tutorial improvements

modified what's next link to map to left nav TOC

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-02-23 13:12:14 -08:00
parent 52a426164b
commit d4add4ee20
9 changed files with 19 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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).

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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