Skip to content

Commit fb9db75

Browse files
author
Matthew Fisher
committed
docs(applications): add deis routing docs
1 parent 050699e commit fb9db75

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Domains and Routing
22

3-
You can use `deis domains` to add or remove custom domains to your application:
3+
You can use `deis domains` to add or remove custom domains to the application:
44

55
$ deis domains:add hello.bacongobbler.com
66
Adding hello.bacongobbler.com to finest-woodshed... done
77

8-
Once that's done, you can go into your DNS registrar and set up a CNAME from the new
8+
Once that's done, you can go into a DNS registrar and set up a CNAME from the new
99
appname to the old one:
1010

1111
$ dig hello.deisapp.com
@@ -15,8 +15,23 @@ appname to the old one:
1515
finest-woodshed.deisapp.com. 270 IN A 172.17.8.100
1616

1717
!!! note
18-
Setting a CNAME for your root domain can cause issues. Setting your @ record
18+
Setting a CNAME for a root domain can cause issues. Setting an @ record
1919
to be a CNAME causes all traffic to go to the other domain, including mail and the SOA
2020
("start-of-authority") records. It is highly recommended that you bind a subdomain to
2121
an application, however you can work around this by pointing the @ record to the
2222
address of the load balancer (if any).
23+
24+
To add or remove the application from the routing mesh, use `deis routing`:
25+
26+
$ deis routing:disable
27+
Disabling routing for finest-woodshed... done
28+
29+
This will make the application unreachable through the [Router][], but the application is still
30+
reachable internally through its [Kubernetes Service][service]. To re-enable routing:
31+
32+
$ deis routing:enable
33+
Enabling routing for finest-woodshed... done
34+
35+
36+
[router]: ../understanding-workflow/components.md#router
37+
[service]: ../reference-guide/terms.md#service

src/reference-guide/terms.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ The Controller stack includes:
5555

5656
- Django API Server for handling API calls
5757

58+
5859
## Key
5960

6061
Deis keys are SSH Keys used during the git push process. Each user can use the client to manage a list of keys on the Controller.
6162

63+
6264
## Release
6365

6466
A Deis release is a combination of a Build with a Config. Each Application is associated with one release at a time. Deis releases are numbered and new releases always increment by one (e.g. v1, v2, v3).
@@ -73,3 +75,8 @@ The Scheduler is responsible for creating, starting, stopping, and destroying Co
7375
The Scheduler must decide which machines are eligible to run these container jobs. Scheduler backends vary in the details of their job allocation policies and whether or not they are resource-aware, among other features.
7476

7577
The Deis scheduler client is implemented in the Controller component.
78+
79+
80+
## Service
81+
82+
A Kubernetes Service is an abstraction which defines a logical set of Pods and a policy by which to access them. In Workflow, a Service is used to load-balance an application's [Containers](#containers) internally through a virtual IP address.

0 commit comments

Comments
 (0)