mirror of
https://github.com/docker/docs.git
synced 2026-04-03 01:38:58 +07:00
This changes the index page URL for cluster to `/cluster/` instead of `/cluster/overview/`, which makes URL navigation more fitting the expectations. Note that there's still issues to resolve; because we're adding links to the *same* "reference" pages and "environment variables" in multiple locations in the navigation tree, the navigation marks all occurrences as "active". Which means that browsing the Docker CLI reference, and going to the "cluster" section, will make the navigation jump to the "Deploy Docker Enterprise" section. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1.6 KiB
1.6 KiB
description, keywords, title
| description | keywords | title |
|---|---|---|
| Introduction and Overview of Docker Cluster | documentation, docs, docker, cluster, infrastructure, automation | Overview of Docker Cluster |
Docker Cluster is a tool for lifecycle management of Docker clusters. With Cluster, you use a YAML file to configure your provider's resources. Then, with a single command, you provision and install all the resources from your configuration.
Using Docker Cluster is a three-step process:
-
Ensure you have the credentials necessary to provision a cluster.
-
Define the resources that make up your cluster in
cluster.yml -
Run
docker cluster createto have Cluster provision resources and install Docker Enterprise on the resources.
A cluster.yml file resembles the following example:
{% raw %}
variable:
region: us-east-2
ucp_password:
type: prompt
provider:
aws:
region: ${region}
cluster:
engine:
version: "ee-stable-18.09.5"
ucp:
version: "docker/ucp:3.1.6"
username: "admin"
password: ${ucp_password}
resource:
aws_instance:
managers:
quantity: 1
{% endraw %}
For more information about Cluster files, refer to the Cluster file reference.
Docker Cluster has commands for managing the whole lifecycle of your cluster:
- Create and destroy clusters
- Scale up or Scale down clusters
- Upgrade clusters
- View the status of clusters
- Backup and Restore clusters