mirror of https://github.com/docker/docs.git
parent
b73db2653b
commit
e735294bb5
|
|
@ -14,7 +14,7 @@ deploying Docker Universal Control Plane for production.
|
||||||
Before installing UCP you should make sure that all nodes (physical or virtual
|
Before installing UCP you should make sure that all nodes (physical or virtual
|
||||||
machines) that you'll manage with UCP:
|
machines) that you'll manage with UCP:
|
||||||
|
|
||||||
* [Comply the the system requirements](system-requirements.md)
|
* [Comply the system requirements](system-requirements.md)
|
||||||
* Are running the same version of CS Docker Engine
|
* Are running the same version of CS Docker Engine
|
||||||
|
|
||||||
## Hostname strategy
|
## Hostname strategy
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ the swarm. The swarm nodes can reside on a private network that is accessible to
|
||||||
the proxy server, but that is not publicly accessible.
|
the proxy server, but that is not publicly accessible.
|
||||||
|
|
||||||
You can configure the load balancer to balance requests between every node in
|
You can configure the load balancer to balance requests between every node in
|
||||||
the swarm even if the there are no tasks scheduled on the node. For example, you
|
the swarm even if there are no tasks scheduled on the node. For example, you
|
||||||
could have the following HAProxy configuration in `/etc/haproxy/haproxy.cfg`:
|
could have the following HAProxy configuration in `/etc/haproxy/haproxy.cfg`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ DB storage example:
|
||||||
<td valign="top">yes if not <code>memory</code></td>
|
<td valign="top">yes if not <code>memory</code></td>
|
||||||
<td valign="top">The <a href="https://github.com/go-sql-driver/mysql">
|
<td valign="top">The <a href="https://github.com/go-sql-driver/mysql">
|
||||||
the Data Source Name used to access the DB.</a>
|
the Data Source Name used to access the DB.</a>
|
||||||
(note: please include <code>parseTime=true</code> as part of the the DSN)</td>
|
(note: please include <code>parseTime=true</code> as part of the DSN)</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ swarm is connected to the public internet. To create your cluster:
|
||||||
|
|
||||||
2. Create each node and join them to the cluster.
|
2. Create each node and join them to the cluster.
|
||||||
|
|
||||||
On each of your nodes, start the swarm agent. The node IP address doesn't have to be public (eg. 192.168.0.X) but the the Swarm manager must be able to access it.
|
On each of your nodes, start the swarm agent. The node IP address doesn't have to be public (eg. 192.168.0.X) but the Swarm manager must be able to access it.
|
||||||
|
|
||||||
$ swarm join --advertise=<node_ip:2375> token://<cluster_id>
|
$ swarm join --advertise=<node_ip:2375> token://<cluster_id>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue