Skip to content

Commit 49bf068

Browse files
author
Gabriel Monroy
committed
Merge pull request #2245 from gabrtv/fix-deisctl-docs
docs(*): set required platform config before install/start
2 parents e986794 + 78518c0 commit 49bf068

7 files changed

Lines changed: 76 additions & 76 deletions

File tree

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,22 @@ This instructs Vagrant to spin up 3 VMs. To be able to connect to the VMs, you m
5050
$ ssh-add ~/.vagrant.d/insecure_private_key
5151
```
5252

53+
## Configure Deis
54+
55+
Before Deis will start successfully, there are a few administrative settings we need to provide.
56+
57+
Set the default domain used to anchor your applications. For a Vagrant environment, use `local3.deisapp.com` as it will resolve to your local routers:
58+
59+
```console
60+
$ deisctl config platform set domain=local3.deisapp.com
61+
```
62+
63+
If you want to allow `deis run` for one-off admin commands, you must provide an SSH private key that allows Deis to gather container logs on CoreOS hosts:
64+
65+
```console
66+
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
67+
```
68+
5369
## Provision Deis
5470

5571
Install the [deisctl utility](deisctl#installation) used to provision and operate Deis.
@@ -75,22 +91,6 @@ This can take some time - the **builder** must download and install the beefy He
7591

7692
Your Deis platform should be accessible at `deis.local3.deisapp.com`. For clusters on other platforms see our guide to [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/).
7793

78-
## Configure Deis
79-
80-
Now that Deis is running there are a few administrative settings we need to provide.
81-
82-
Set the default domain used to anchor your applications. For a Vagrant environment, use `local3.deisapp.com` as it will resolve to your local routers:
83-
84-
```console
85-
$ deisctl config platform set domain=local3.deisapp.com
86-
```
87-
88-
If you want to allow `deis run` for one-off admin commands, you must provide an SSH private key that allows Deis to gather container logs on CoreOS hosts:
89-
90-
```console
91-
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
92-
```
93-
9494
## Install the Deis Client
9595

9696
If you're using the latest Deis release, use `pip install --upgrade deis` to install the latest [Deis Client](https://pypi.python.org/pypi/deis/) or download [pre-compiled binaries](https://github.com/deis/deis/tree/master/client#get-started).

contrib/bare-metal/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ and specify that version by appending the `-V` parameter to the install command,
5353

5454
After the installation has finished reboot your server. Once your machine is back up you should be able to log in as the `core` user using the `deis` ssh key.
5555

56-
## Initialize the cluster
57-
Once your server(s) are all provisioned you can proceed to install Deis. Use the hostname of one of your machines in the next step.
58-
59-
```console
60-
$ ssh-add ~/.ssh/deis
61-
$ export DEISCTL_TUNNEL=your.server.name.here
62-
$ deisctl install platform && deisctl start platform
63-
```
64-
6556
## Configure Deis
6657
Set the default domain used to anchor your applications:
6758

@@ -77,6 +68,15 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
7768
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
7869
```
7970

71+
## Initialize the cluster
72+
Once your server(s) are all provisioned you can proceed to install Deis. Use the hostname of one of your machines in the next step.
73+
74+
```console
75+
$ ssh-add ~/.ssh/deis
76+
$ export DEISCTL_TUNNEL=your.server.name.here
77+
$ deisctl install platform && deisctl start platform
78+
```
79+
8080
## Use Deis!
8181
After that, register with Deis!
8282
```console

contrib/digitalocean/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ droplet size. The default is 8 GB. Specify the size with NGB, where N is 2, 4, 8
6060

6161
This will print the IP addresses of the initialized machines.
6262

63-
## Initialize the cluster
64-
set DEISCTL_TUNNEL to one of the IPs of the virtual machines (these are printed on the console in a previous step). You can also login to the web interface of DigitalOcean to see the Public IP addresses.
65-
66-
```console
67-
$ export DEISCTL_TUNNEL=23.253.219.94
68-
$ deisctl install platform && deisctl start platform
69-
```
70-
Deisctl will deploy Deis and make sure the services are started properly. Grab a coffee.
71-
7263
## Configure Deis
7364
Set the default domain used to anchor your applications:
7465

@@ -84,6 +75,15 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
8475
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
8576
```
8677

78+
## Initialize the cluster
79+
set DEISCTL_TUNNEL to one of the IPs of the virtual machines (these are printed on the console in a previous step). You can also login to the web interface of DigitalOcean to see the Public IP addresses.
80+
81+
```console
82+
$ export DEISCTL_TUNNEL=23.253.219.94
83+
$ deisctl install platform && deisctl start platform
84+
```
85+
Deisctl will deploy Deis and make sure the services are started properly. Grab a coffee.
86+
8787
### Use Deis!
8888
After that, register with Deis!
8989
```console

contrib/ec2/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,6 @@ Please wait for all instances to come up as "running" before continuing.
112112
Check the AWS EC2 web control panel and wait until "Status Checks" for all instances have passed.
113113
This will take several minutes.
114114

115-
## Initialize the cluster
116-
Once the cluster is up, get the hostname of any of the machines from EC2, set
117-
DEISCTL_TUNNEL, and issue a `deisctl install`:
118-
```console
119-
$ ssh-add ~/.ssh/deis
120-
$ export DEISCTL_TUNNEL=ec2-12-345-678-90.us-west-1.compute.amazonaws.com
121-
$ deisctl install platform && deisctl start platform
122-
```
123-
Deisctl will deploy Deis and make sure the services start properly.
124-
125115
## Configure Deis
126116
Set the default domain used to anchor your applications:
127117

@@ -137,6 +127,16 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
137127
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
138128
```
139129

130+
## Initialize the cluster
131+
Once the cluster is up, get the hostname of any of the machines from EC2, set
132+
DEISCTL_TUNNEL, and issue a `deisctl install`:
133+
```console
134+
$ ssh-add ~/.ssh/deis
135+
$ export DEISCTL_TUNNEL=ec2-12-345-678-90.us-west-1.compute.amazonaws.com
136+
$ deisctl install platform && deisctl start platform
137+
```
138+
Deisctl will deploy Deis and make sure the services start properly.
139+
140140
## Configure load balancer
141141
The Deis provisioning scripts for EC2 automatically create an Elastic Load Balancer for your Deis
142142
cluster. However, ELBs on EC2 have a default timeout of 60 seconds, which will disrupt a ``git push``

contrib/gce/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,7 @@ $ deisctl list
305305
MACHINE IP METADATA
306306
```
307307

308-
Now we can bootstrap the Deis containers:
309-
310-
```shell
311-
deisctl install platform && deisctl start platform
312-
```
313-
314-
This operation will take a while as all the Deis systemd units are loaded into the CoreOS cluster and the Docker images are pulled down. Grab some iced tea!
315-
316-
Once the command completes and `deisctl list` shows services as running, you can set the default domain used to anchor your applications:
308+
Now set the default domain used to anchor your applications:
317309

318310
```console
319311
$ deisctl config platform set domain=mycluster.local
@@ -327,6 +319,14 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
327319
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
328320
```
329321

322+
Now we can bootstrap the Deis containers:
323+
324+
```shell
325+
deisctl install platform && deisctl start platform
326+
```
327+
328+
This operation will take a while as all the Deis systemd units are loaded into the CoreOS cluster and the Docker images are pulled down. Grab some iced tea!
329+
330330
Register the admin user. The first user added to the system becomes the admin:
331331

332332
```console

contrib/openstack/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@ By default, the Makefile will provision 1 router. You can override this by setti
7676
$ export DEIS_NUM_ROUTERS=2
7777
```
7878

79-
### Initialize the cluster
80-
Once the cluster is up:
81-
* **If required, allocate and associate floating IPs to any or all of your hosts**
82-
* Get the IP address of any of the machines from Openstack
83-
* set DEISCTL_TUNNEL and install the platform:
84-
85-
```console
86-
$ export DEISCTL_TUNNEL=23.253.219.94
87-
$ deisctl install platform && deisctl start platform
88-
```
89-
90-
The installer will deploy Deis and make sure the services start properly.
91-
9279
## Configure Deis
9380
Set the default domain used to anchor your applications:
9481

@@ -104,6 +91,19 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
10491
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
10592
```
10693

94+
### Initialize the cluster
95+
Once the cluster is up:
96+
* **If required, allocate and associate floating IPs to any or all of your hosts**
97+
* Get the IP address of any of the machines from Openstack
98+
* set DEISCTL_TUNNEL and install the platform:
99+
100+
```console
101+
$ export DEISCTL_TUNNEL=23.253.219.94
102+
$ deisctl install platform && deisctl start platform
103+
```
104+
105+
The installer will deploy Deis and make sure the services start properly.
106+
107107
### Use Deis!
108108
After that, register with Deis!
109109
```console

contrib/rackspace/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ Usage: provision-rackspace-cluster.sh <key pair name> [flavor]
5454
$ ./provision-rackspace-cluster.sh deis-key
5555
```
5656

57-
### Initialize the cluster
58-
Once the cluster is up, get the hostname of any of the machines from Rackspace, set
59-
DEISCTL_TUNNEL and install the platform:
60-
```console
61-
$ export DEISCTL_TUNNEL=23.253.219.94
62-
$ deisctl install platform && deisctl start platform
63-
```
64-
65-
The installer will deploy Deis and make sure the services start properly.
66-
6757
## Configure Deis
6858
Set the default domain used to anchor your applications:
6959

@@ -79,6 +69,16 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
7969
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
8070
```
8171

72+
### Initialize the cluster
73+
Once the cluster is up, get the hostname of any of the machines from Rackspace, set
74+
DEISCTL_TUNNEL and install the platform:
75+
```console
76+
$ export DEISCTL_TUNNEL=23.253.219.94
77+
$ deisctl install platform && deisctl start platform
78+
```
79+
80+
The installer will deploy Deis and make sure the services start properly.
81+
8282
### Choose number of routers
8383
By default, `deisctl` will provision 1 router. You can override this by scaling up:
8484
```console

0 commit comments

Comments
 (0)