Skip to content

Commit 1174bf0

Browse files
committed
Merge pull request #963 from deis/explain_clusters_create
docs(*): clarify clusters:create options
2 parents 9348564 + b70aa56 commit 1174bf0

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ Initialize a `dev` cluster with a list of CoreOS hosts and your CoreOS private k
132132
$ deis clusters:create dev local.deisapp.com --hosts=local.deisapp.com --auth=~/.vagrant.d/insecure_private_key
133133
```
134134

135+
The parameters to `deis clusters:create` are:
136+
* cluster name (`dev`) - the name used by Deis to reference the cluster
137+
* cluster hostname (`local.deisapp.com`) - the hostname under which apps are created, like `balancing-giraffe.local.deisapp.com`
138+
* cluster members (`--hosts`) - a comma-separated list of cluster members -- not necessarily all members, but at least one (for EC2 and Rackspace, this is a list of the internal IPs like `--hosts=10.21.12.1,10.21.12.2,10.21.12.3`)
139+
* auth SSH key (`--auth`) - the SSH private key used to provision servers (for EC2 and Rackspace, this key is likely `~/.ssh/deis`)
140+
135141
The `dev` cluster will be used as the default cluster for future `deis` commands.
136142

137143
# Usage

client/deis.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,13 @@ def clusters_create(self, args):
797797
798798
Usage: deis clusters:create <id> <domain> --hosts=<hosts> --auth=<auth> [options]
799799
800+
Parameters:
801+
802+
<id> a name for the cluster
803+
<domain> a domain under which app hostnames will live
804+
<hosts> a comma-separated list of cluster members
805+
<auth> a path to an SSH private key used to connect to cluster members
806+
800807
Options:
801808
802809
--type=TYPE cluster type [default: coreos]

0 commit comments

Comments
 (0)