aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-04 22:25:13 +0000
committerGerrit Code Review <review@openstack.org>2017-01-04 22:25:13 +0000
commit0c96526de81779e2830dc14c30dee203574fcf49 (patch)
tree0a615c10c7756a497fe36c6693cc404d9204e9ac
parent3766b68c3edbf42dee3361de1a16d53cfd82c393 (diff)
parent65f85682aa1a3a98531e80eda22798a54c4740c4 (diff)
downloadkolla-0c96526de81779e2830dc14c30dee203574fcf49.tar.gz
kolla-0c96526de81779e2830dc14c30dee203574fcf49.zip
Merge "Fix docs to require docker config on all nodes"
-rw-r--r--doc/multinode.rst29
1 files changed, 22 insertions, 7 deletions
diff --git a/doc/multinode.rst b/doc/multinode.rst
index da624066b..24938edaf 100644
--- a/doc/multinode.rst
+++ b/doc/multinode.rst
@@ -6,20 +6,35 @@ Multinode Deployment of Kolla
.. _deploy_a_registry:
-Deploy a registry (required for multinode)
-==========================================
+Deploy a registry
+=================
A Docker registry is a locally hosted registry that replaces the need to pull
-from the Docker Hub to get images. A local registry is required for a multinode
-Kolla deployment.
+from the Docker Hub to get images. Kolla can function with or without a local
+registry, however for a multinode deployment some type of registry is mandatory.
+Only one registry must be deployed, although HA features exist for registry
+services.
+
+The Docker registry prior to version 2.3 has extremely bad performance because
+all container data is pushed for every image rather than taking advantage of
+Docker layering to optimize push operations. For more information reference
+`pokey registry <https://github.com/docker/docker/issues/14018>`__.
The Kolla community recommends using registry 2.3 or later. To deploy registry
-with version greater than 2.3, do the following:
+with version 2.3 or later, do the following:
::
tools/start-registry
+.. _configure_docker_all_nodes:
+
+Configure Docker on all nodes
+=============================
+
+.. note:: As the subtitle for this section implies, these steps should be
+ applied to all nodes, not just the deployment node.
+
After starting the registry, it is necessary to instruct Docker that it will
be communicating with an insecure registry. To enable insecure registry
communication on CentOS, modify the ``/etc/sysconfig/docker`` file to contain
@@ -88,8 +103,8 @@ Edit the Inventory File
The ansible inventory file contains all the information needed to determine
what services will land on which hosts. Edit the inventory file in the kolla
-directory ``ansible/inventory/multinode`` or if kolla was installed with pip,
-it can be found in ``/usr/share/kolla``.
+directory ``ansible/inventory/multinode``. If kolla was installed with pip,
+the inventory file can be found in ``/usr/share/kolla``.
Add the ip addresses or hostnames to a group and the services associated with
that group will land on that host: