Skip to content

Commit 554fdc4

Browse files
committed
docs(*): clarify local cluster settings
1 parent decc18c commit 554fdc4

5 files changed

Lines changed: 37 additions & 5 deletions

File tree

docs/installing_deis/install-platform.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ to your CoreOS nodes:
2626
$ eval `ssh-agent -s`
2727
$ ssh-add ~/.ssh/deis
2828
29+
.. note::
30+
31+
For Vagrant clusters: ``ssh-add ~/.vagrant.d/insecure_private_key``
32+
2933
Find the public IP address of one of your nodes, and export it to the DEISCTL_TUNNEL environment
3034
variable (substituting your own IP address):
3135

@@ -39,6 +43,10 @@ If you set up the "convenience" DNS records, you can just refer to them via
3943
4044
$ export DEISCTL_TUNNEL="deis-1.example.com"
4145
46+
.. note::
47+
48+
For Vagrant clusters: ``export DEISCTL_TUNNEL=172.17.8.100``
49+
4250
This is the IP address where deisctl will attempt to communicate with the cluster. You can test
4351
that it is working properly by running ``deisctl list``. If you see a single line of output, the
4452
control utility is communicating with the nodes.
@@ -56,6 +64,10 @@ We'll also need to tell the controller which domain name we are deploying applic
5664
5765
$ deisctl config platform set domain=example.com
5866
67+
.. note::
68+
69+
For Vagrant clusters: ``deisctl config platform set domain=local3.deisapp.com``
70+
5971
Once finished, run this command to provision the Deis platform:
6072

6173
.. code-block:: console

docs/installing_deis/vagrant.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,13 @@ Configure DNS
6060

6161
For convenience, we have set up a few DNS records for users running on Vagrant.
6262
``local3.deisapp.com`` is set up for 3-node clusters and ``local5.deisapp.com`` is set up for
63-
5-node clusters. If you want to set up your own DNS records, see :ref:`configure-dns` for more
64-
information.
63+
5-node clusters.
64+
65+
Since ``local3.deisapp.com`` is your cluster domain, use ``local3.deisapp.com`` anywhere you see
66+
``example.com`` in the documentation.
67+
68+
It is not necessary to configure DNS for Vagrant clusters, but it is possible - if you want to set up
69+
your own DNS records, see :ref:`configure-dns` for more information.
6570

6671

6772
Install Deis Platform

docs/managing_deis/configure-dns.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Configure DNS
77
=============
88

9-
For local clusters, 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``). Similarly, you can use ``local3.deisapp.com`` or ``local5.deisapp.com`` for 3- and 5-node clusters, respectively. No DNS configuration is necessary for local clusters.
9+
For Vagrant clusters, 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``). Similarly, you can use ``local3.deisapp.com`` or ``local5.deisapp.com`` for 3- and 5-node clusters, respectively. No DNS configuration is necessary for Vagrant clusters.
1111

1212
For Deis clusters hosted elsewhere (EC2, Rackspace, DigitalOcean, Google Compute Engine, bare metal, etc.), DNS records will need to be created to point to the cluster. For a one-node cluster, we schedule and launch one router, and deis-router and deis-controller will run on the same host. So, the DNS record specified below can be configured to point to this one machine.
1313

@@ -26,7 +26,7 @@ Deis requires one wildcard DNS record. Assuming ``myapps.com`` is the top-level
2626

2727
Apps can then be accessed by browsers at ``appname.myapps.com``, and the controller will be available to the Deis client at ``deis.myapps.com``.
2828

29-
This record is necessary for all deployments of Deis (EC2, Rackspace, DigitalOcean, Google Compute Engine, bare metal, etc.). Local clusters can use the domain ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
29+
This record is necessary for all deployments of Deis (EC2, Rackspace, DigitalOcean, Google Compute Engine, bare metal, etc.). Vagrant clusters can use the domain ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
3030

3131
.. _xip_io:
3232

docs/using_deis/deploy-application.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Before deploying an application, users must first authenticate against the Deis
2626
password:
2727
Logged in as deis
2828
29+
.. note::
30+
31+
For Vagrant clusters: ``deis login http://deis.local3.deisapp.com``
32+
2933
Select a Build Process
3034
----------------------
3135
Deis supports three different ways of building applications:

docs/using_deis/register-user.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Register with a Controller
1111
Use ``deis register`` with the :ref:`Controller` URL (supplied by your Deis administrator)
1212
to create a new account. You will be logged in automatically.
1313

14+
The domain you use here should match the one you set with ``deisctl config platform set domain=``.
15+
Note that you always use ``deis.<domain>`` to communicate with the controller.
16+
1417
.. code-block:: console
1518
1619
$ deis register http://deis.example.com
@@ -21,6 +24,10 @@ to create a new account. You will be logged in automatically.
2124
Registered myuser
2225
Logged in as myuser
2326
27+
.. note::
28+
29+
For Vagrant clusters: ``deis register http://deis.local3.deisapp.com``
30+
2431
.. important::
2532

2633
The first user to register with Deis receives "superuser" privileges.
@@ -60,6 +67,10 @@ If you already have an account, use ``deis login`` to authenticate against the D
6067
password:
6168
Logged in as deis
6269
70+
.. note::
71+
72+
For Vagrant clusters: ``deis login http://deis.local3.deisapp.com``
73+
6374
.. note::
6475

6576
Deis session information is stored in your user's ~/.deis directory.

0 commit comments

Comments
 (0)