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
The `FLEETCTL_TUNNEL` environment variable provides a SSH gateway to use in with CoreOS. Use the public IP address for one of the CoreOS nodes we deployed earlier:
295
+
The `DEISCTL_TUNNEL` environment variable provides a SSH gateway to use in with `deisctl`. Use the public IP address for one of the CoreOS nodes we deployed earlier:
296
296
297
297
```shell
298
-
exportFLEETCTL_TUNNEL=23.236.59.66
298
+
exportDEISCTL_TUNNEL=23.236.59.66
299
299
```
300
300
301
-
Verify the CoreOS cluster is operation and that we can see all our nodes:
301
+
Verify the CoreOS cluster is operational and that we can communicate with the cluster:
302
302
303
303
```console
304
-
$ fleetctl list-machines
304
+
$ deisctl list
305
305
MACHINE IP METADATA
306
-
b0d96509... 10.240.19.74 -
307
-
c6e39062... 10.240.174.34 -
308
-
e084a014... 10.240.26.179 -
309
306
```
310
307
311
-
Now we can bootstrap the Deis containers. `DEIS_NUM_INSTANCES` should match the number of EC2 instances launched. `DEIS_NUM_ROUTERS` should be at least 2. But can also match node count:
308
+
Now we can bootstrap the Deis containers:
312
309
313
310
```shell
314
-
DEIS_NUM_INSTANCES=3 DEIS_NUM_ROUTERS=3 make run
315
-
Job deis-router.1.service loaded on 47c540a2.../10.240.62.89
316
-
Job deis-router.2.service loaded on 794c2897.../10.240.194.149
317
-
Job deis-router.3.service loaded on 177b5a76.../10.240.98.27
318
-
Job deis-builder-data.service loaded on 177b5a76.../10.240.98.27
319
-
Job deis-database-data.service loaded on 47c540a2.../10.240.62.89
320
-
Job deis-logger-data.service loaded on 177b5a76.../10.240.98.27
321
-
Job deis-registry-data.service loaded on 47c540a2.../10.240.62.89
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!
353
315
354
-
Verify that all the units are active after the `make run`operation completes:
316
+
Verify that all the units are active after the operation completes:
355
317
356
318
```console
357
-
$ fleetctl list-units
358
-
UNIT STATE LOAD ACTIVE SUB DESC MACHINE
359
-
deis-builder-data.service loaded loaded active exited deis-builder-data 177b5a76.../10.240.98.27
360
-
deis-builder.service launched loaded active running deis-builder 177b5a76.../10.240.98.27
361
-
deis-cache.service launched loaded active running deis-cache 47c540a2.../10.240.62.89
362
-
deis-controller.service launched loaded active running deis-controller 177b5a76.../10.240.98.27
363
-
deis-database-data.service loaded loaded active exited deis-database-data 47c540a2.../10.240.62.89
364
-
deis-database.service launched loaded active running deis-database 47c540a2.../10.240.62.89
365
-
deis-logger-data.service loaded loaded active exited deis-logger-data 177b5a76.../10.240.98.27
366
-
deis-logger.service launched loaded active running deis-logger 177b5a76.../10.240.98.27
367
-
deis-registry-data.service loaded loaded active exited deis-registry-data 47c540a2.../10.240.62.89
368
-
deis-registry.service launched loaded active running deis-registry 47c540a2.../10.240.62.89
369
-
deis-router.1.service launched loaded active running deis-router 47c540a2.../10.240.62.89
370
-
deis-router.2.service launched loaded active running deis-router 794c2897.../10.240.194.149
371
-
deis-router.3.service launched loaded active running deis-router 177b5a76.../10.240.98.27
319
+
$ deisctl list
320
+
UNIT MACHINE LOAD ACTIVE SUB
321
+
deis-builder-data.service dea53588.../172.17.8.100 loaded active exited
322
+
deis-builder@1.service dea53588.../172.17.8.100 loaded active running
323
+
deis-cache@1.service dea53588.../172.17.8.100 loaded active running
324
+
deis-controller@1.service dea53588.../172.17.8.100 loaded active running
325
+
deis-database-data.service dea53588.../172.17.8.100 loaded active exited
326
+
deis-database@1.service dea53588.../172.17.8.100 loaded active running
327
+
deis-logger-data.service dea53588.../172.17.8.100 loaded active exited
328
+
deis-logger@1.service dea53588.../172.17.8.100 loaded active running
329
+
deis-registry-data.service dea53588.../172.17.8.100 loaded active exited
330
+
deis-registry@1.service dea53588.../172.17.8.100 loaded active running
331
+
deis-router@1.service dea53588.../172.17.8.100 loaded active running
372
332
```
373
333
374
334
Everything looks good! Register the admin user. The first user added to the system becomes the admin:
The script will deploy Deis and make sure the services start properly.
90
+
The installer will deploy Deis and make sure the services start properly.
91
91
92
92
### Configure DNS
93
93
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.
@@ -103,9 +103,5 @@ email: info@opdemand.com
103
103
```
104
104
105
105
## Hack on Deis
106
-
If you'd like to use this deployment to build Deis, you'll need to set `DEIS_HOSTS` to an array of your cluster hosts:
107
-
```console
108
-
$ DEIS_HOSTS="1.2.3.4 2.3.4.5 3.4.5.6" make build
109
-
```
110
106
111
-
This variable is used in the `make build` command.
107
+
See [Hacking on Deis](http://docs.deis.io/en/latest/contributing/hacking/).
The installer will deploy Deis and make sure the services start properly.
76
+
77
+
### Choose number of routers
78
+
By default, `deisctl` will provision 1 router. You can override this by scaling up:
79
+
```console
80
+
$ deisctl scale router=2
79
81
```
80
-
The script will deploy Deis and make sure the services start properly.
81
82
82
83
### Configure DNS
83
84
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.
@@ -108,9 +109,5 @@ email: info@opdemand.com
108
109
```
109
110
110
111
## Hack on Deis
111
-
If you'd like to use this deployment to build Deis, you'll need to set `DEIS_HOSTS` to an array of your cluster hosts:
112
-
```console
113
-
$ DEIS_HOSTS="1.2.3.4 2.3.4.5 3.4.5.6" make build
114
-
```
115
112
116
-
This variable is used in the `make build` command.
113
+
See [Hacking on Deis](http://docs.deis.io/en/latest/contributing/hacking/).
0 commit comments