You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,26 @@ $ deisctl install platform
71
71
$ deisctl start platform
72
72
```
73
73
74
-
This can take some time - the **builder**and **registry** components must download and install the beefy Heroku cedar stack. Grab some more coffee!
74
+
This can take some time - the **builder** must download and install the beefy Heroku cedar stack. Grab some more coffee!
75
75
76
76
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/).
77
77
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
+
78
94
## Install the Deis Client
79
95
80
96
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).
@@ -100,22 +116,6 @@ $ deis keys:add
100
116
101
117
Use `deis keys:add` to add your SSH public key for `git push` access -- normally `$HOME/.ssh/id_rsa.pub`.
102
118
103
-
## Initialize a Cluster
104
-
105
-
Initialize a `dev` cluster with a list of CoreOS hosts and your CoreOS private key.
106
-
107
-
```console
108
-
$ deis clusters:create dev local3.deisapp.com --hosts=172.17.8.100 --auth=~/.vagrant.d/insecure_private_key
109
-
```
110
-
111
-
The parameters to `deis clusters:create` are:
112
-
* cluster name (`dev`) - the name used by Deis to reference the cluster
113
-
* cluster hostname (`local.3deisapp.com`) - the hostname under which apps are created, like `balancing-giraffe.local3.deisapp.com`
114
-
* cluster members (`--hosts`) - a comma-separated list of cluster members -- not necessarily all members, but at least one (for cloud providers, this is a list of the IPs like `--hosts=10.21.12.1,10.21.12.2,10.21.12.3`)
115
-
* auth SSH key (`--auth`) - the SSH private key used to provision servers -- cannot have a password (for cloud providers, this key is likely `~/.ssh/deis`)
116
-
117
-
The `dev` cluster will be used as the default cluster for future `deis` commands.
Set the default domain used to anchor your applications:
67
+
68
+
```console
69
+
$ deisctl config platform set domain=mycluster.local
70
+
```
71
+
72
+
For this to work, you'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.
73
+
74
+
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:
75
+
76
+
```console
77
+
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
Deisctl will deploy Deis and make sure the services are started properly. Grab a coffee.
71
71
72
-
### Configure DNS
73
-
You'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.
72
+
## Configure Deis
73
+
Set the default domain used to anchor your applications:
74
+
75
+
```console
76
+
$ deisctl config platform set domain=mycluster.local
77
+
```
78
+
79
+
For this to work, you'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.
80
+
81
+
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:
82
+
83
+
```console
84
+
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
Deisctl will deploy Deis and make sure the services start properly.
124
124
125
-
## Choose number of routers
126
-
By default, deisctl will provision 1 router. You can override this by scaling up:
125
+
## Configure Deis
126
+
Set the default domain used to anchor your applications:
127
+
128
+
```console
129
+
$ deisctl config platform set domain=mycluster.local
130
+
```
131
+
132
+
For this to work, you'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.
133
+
134
+
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:
135
+
127
136
```console
128
-
$ deisctl scale router=3
137
+
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
0 commit comments