|
6 | 6 | Configure load balancers |
7 | 7 | ------------------------ |
8 | 8 |
|
9 | | -For a one-node Deis cluster, there is one router and one controller, so load balancing is unnecessary. You can proceed with the next section: :ref:`configure-dns`. |
| 9 | +For a one-node Deis cluster, there is one router and one controller, so load balancing is unnecessary. |
| 10 | +You can proceed with the next section: :ref:`configure-dns`. |
10 | 11 |
|
11 | | -On a multi-node cluster, however, there are probably multiple routers scheduled to the cluster, and these can potentially move hosts. Therefore, it is recommended that you configure a load balancer to operate in front of the Deis cluster to serve application traffic. A simple configuration is one that has all Deis machines listed in its configuration file, but a host is only considered 'healthy' when it is serving traffic on port 80. This enables the load balancer to serve trafic to whichever hosts happen to be running the deis-router component at any one time. |
| 12 | +On a multi-node cluster, however, there are probably multiple routers scheduled to the cluster, and |
| 13 | +these can potentially move hosts. Therefore, it is recommended that you configure a load balancer |
| 14 | +to operate in front of the Deis cluster to serve application traffic. A simple configuration is one |
| 15 | +that has all Deis machines listed in its configuration file, but a host is only considered 'healthy' |
| 16 | +when it is responding to ports 80 and 2222. This enables the load balancer to serve trafic to whichever |
| 17 | +hosts happen to be running the deis-router component at any one time. |
12 | 18 |
|
13 | | -The load balancer is also the suggested SSL termination point, as SSL is not currently supported between Deis components. |
| 19 | +These ports need to be open on the load balancers: |
14 | 20 |
|
15 | | -Further documentation around load balancers is planned for Deis 1.0. |
| 21 | +* 80 (for application traffic and for API calls to the controller) |
| 22 | +* 2222 (for traffic to the builder) |
| 23 | + |
| 24 | +Optionally, you can also open port 443 and configure SSL termination on the load balancers, but |
| 25 | +requests should still be forwarded to port 80 on the routers. Communication between Deis components |
| 26 | +is currently unencrypted. |
0 commit comments