summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-06 20:39:11 +0000
committerGerrit Code Review <review@openstack.org>2016-11-06 20:39:11 +0000
commit19dfe16dbbd7fdf713211e1f5e5c8ddb87282912 (patch)
treeb4b77fb55ff2952267bbce40b5fbda708cead4ce
parentde0bae44cbe8e6db0ade5a423cbb9a34db58925a (diff)
parentb043a95b96886b032cf5137793c393d8523930ff (diff)
downloadkolla-19dfe16dbbd7fdf713211e1f5e5c8ddb87282912.tar.gz
kolla-19dfe16dbbd7fdf713211e1f5e5c8ddb87282912.zip
Merge "Add profile usage to kolla-build guide"
-rw-r--r--doc/image-building.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index 286f7711e..0776c0199 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -70,6 +70,30 @@ Multiple names may be specified on the command line::
kolla-build keystone nova
+The set of images built can be defined as a profile in the ``profiles`` section
+of ``kolla-build.conf``. Later, profile can be specified by ``--profile`` CLI
+argument or ``profile`` option in ``kolla-build.conf``. Kolla provides some
+pre-defined profiles:
+
+- ``infra`` infrastructure-related images
+- ``main`` core OpenStack images
+- ``aux`` auxiliary images such as trove, magnum, ironic
+- ``default`` minimal set of images for a working deploy
+
+For example, due to Magnum requires Heat, following profile can be add to
+``profiles`` section in ``kolla-build.conf`` ::
+
+ magnum = magnum,heat
+
+These images can be built using command line ::
+
+ kolla-build --profile magnum
+
+Or put following line to ``DEFAULT`` section in ``kolla-build.conf`` ::
+
+ profile = magnum
+
+
``kolla-build`` uses ``kolla`` as default Docker namespace. This is
controlled with the ``-n`` command line option. To push images to a dockerhub
repository named ``mykollarepo``::