Skip to content
Snippets Groups Projects
  • caowei's avatar
    c3410a9c
    Fix some minor errors in the doc · c3410a9c
    caowei authored
    1.remove the # - it makes copy and paste very difficult
    2.change "ubuntu" to "Ubuntu"
    3.add "Restart docker by executing the following commands: "
    
    TrivialFix
    Change-Id: I0192d9fd7f597b0e2dc8d26d4fe5ba8b32483ce0
    c3410a9c
    History
    Fix some minor errors in the doc
    caowei authored
    1.remove the # - it makes copy and paste very difficult
    2.change "ubuntu" to "Ubuntu"
    3.add "Restart docker by executing the following commands: "
    
    TrivialFix
    Change-Id: I0192d9fd7f597b0e2dc8d26d4fe5ba8b32483ce0
multinode.rst 3.74 KiB

Multinode Deployment of Kolla

Deploy a registry (required for multinode)

A Docker registry is a locally hosted registry that replaces the need to pull from the Docker Hub to get images. Kolla can function with or without a local registry, however for a multinode deployment a registry is required.

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.

The Kolla community recommends using registry 2.3 or later. To deploy registry with version greater than 2.3, do the following:

docker run -d -p 4000:5000 --restart=always --name registry registry:2

Note

Kolla looks for the Docker registry to use port 4000. (Docker default is port 5000)

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 the following where 192.168.1.100 is the IP address of the machine where the registry is currently running:

# CentOS
INSECURE_REGISTRY="--insecure-registry 192.168.1.100:4000"