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
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,7 @@ Use `make run` to start all Deis containers and attach to their log output. This
71
71
$ make run
72
72
```
73
73
74
-
## Additional steps for a multi-node cluster
75
-
* Configure local DNS. For a one-node cluster we do this for you: `local.deisapp.com` resolves to the IP of the first VM, 172.17.8.100. Since we cannot know where the `deis-router` container will be running in your cluster, you'll need to setup DNS and resolve a wildcard entry to use for your apps.
76
-
* Because of the DNS quandary, we don't start the deis-router component for you. You'll need to start this manually once DNS is setup: `systemctl start deis-router`.
74
+
Your Vagrant VM is accessible at `local.deisapp.com`. For clusters with more than one node, see our guide to [Configuring DNS](http://docs.deis.io/en/latest/operations/configure-dns/).
77
75
78
76
## Testing the cluster
79
77
Integration tests and corresponding documentation can be found under the `test/` folder.
Copy file name to clipboardExpand all lines: contrib/rackspace/README.md
+6-25Lines changed: 6 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,35 +54,16 @@ FLEETCTL_TUNNEL, and issue a `make run` from the project root:
54
54
```console
55
55
$ export FLEETCTL_TUNNEL=23.253.219.94
56
56
$ cd ../.. && make run
57
-
The authenticity of host '23.253.219.94:22' can't be established.
58
-
RSA key fingerprint is ce:3a:c1:3a:ad:11:bd:60:84:8e:60:a8:2f:19:1a:a6.
59
-
Are you sure you want to continue connecting (yes/no)? yes
60
-
Warning: Permanently added '23.253.219.94:22' (RSA) to the list of known hosts.
61
-
Job deis-registry.service scheduled to 73c7d285.../23.253.218.114
62
-
Job deis-logger.service scheduled to 21ad134c.../23.253.217.229
63
-
Job deis-database.service scheduled to 73c7d285.../23.253.218.114
64
-
Job deis-cache.service scheduled to 73c7d285.../23.253.218.114
65
-
Job deis-controller.service scheduled to e5c14be6.../23.253.219.94
66
-
Job deis-builder.service scheduled to e5c14be6.../23.253.219.94
67
-
Job deis-router.service scheduled to 73c7d285.../23.253.218.114
68
-
done!
69
57
```
58
+
The script will deploy Deis and make sure the services start properly.
59
+
60
+
### Configure DNS
61
+
You'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/operations/configure-dns/) for details.
70
62
71
63
### Use Deis!
72
-
After that, wait for the components to come up, check which host the controller is
73
-
running on and register with Deis!
64
+
After that, register with Deis!
74
65
```
75
-
$ fleetctl list-units
76
-
UNIT LOAD ACTIVE SUB DESC MACHINE
77
-
deis-builder.service loaded active running deis-builder e5c14be6.../23.253.219.94
78
-
deis-cache.service loaded active running deis-cache 73c7d285.../23.253.218.114
79
-
deis-controller.service loaded active running deis-controller e5c14be6.../23.253.219.94
80
-
deis-database.service loaded active running deis-database 73c7d285.../23.253.218.114
81
-
deis-logger.service loaded active running deis-logger 21ad134c.../23.253.217.229
82
-
deis-registry.service loaded active running deis-registry 73c7d285.../23.253.218.114
83
-
deis-router.service loaded active running deis-router 73c7d285.../23.253.218.114
:description: Configure name resolution for your Deis Cluster
3
+
4
+
.. _configure-dns:
5
+
6
+
Configure DNS
7
+
-------------
8
+
9
+
For a one-node cluster, both deis-router and deis-controller will run on the same host. For convenience, we've created the DNS record ``local.deisapp.com`` which resolves to the IP of the first VM, 172.17.8.100.
10
+
You can use ``local.deisapp.com`` to both log into the controller and to access applications that you've deployed (they will be subdomains of ``local.deisapp.com``, like ``happy-unicorn.local.deisapp.com``).
11
+
12
+
On a multi-node cluster, however, the router and controller will likely be scheduled on separate machines. Since we cannot know the IP addresses ahead of time, you'll need to setup resolution yourself using your own domain (unfortunately, wildcard hostnames are not permitted in ``/etc/hosts``). The records should be as follows:
13
+
14
+
* ``deis.example.org`` should resolve to the IP of the machine that runs ``deis-controller``
15
+
* ``*.deis.example.org`` (a wildcard DNS entry) should resolve to the IP of the machine that runs ``deis-router``
16
+
17
+
These records are necessary for multi-node Vagrant as well as any other multi-node deployments of Deis (EC2, Rackspace, etc.).
0 commit comments