summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2021-02-09 00:00:34 +1300
committerLingxian Kong <anlin.kong@gmail.com>2021-02-09 00:00:34 +1300
commit6edd3332b68864e69eb6733a71ecb5e827871d8f (patch)
tree6322d7810ce6fa9977a89a0e0bf3324da0bce83e /doc
parent52f7b67dc20d87acd2c056a65f677025c9000413 (diff)
downloadtrove-6edd3332b68864e69eb6733a71ecb5e827871d8f.tar.gz
Doc: custom container image registry
Change-Id: I6a144fbf5d79c29dc204483bb7403ea850983a73
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/run_trove_in_production.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/admin/run_trove_in_production.rst b/doc/source/admin/run_trove_in_production.rst
index 94bbce24..8d683e83 100644
--- a/doc/source/admin/run_trove_in_production.rst
+++ b/doc/source/admin/run_trove_in_production.rst
@@ -270,6 +270,34 @@ run ``tox -egenpolicy`` in the repo folder and the new file will be located in
.. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html
+Configure Trove Guest Agent
+"""""""""""""""""""""""""""
+The config file of trove guest agent is copied from trove controller node
+(default file path ``/etc/trove/trove-guestagent.conf``) when creating
+instance.
+
+Some config options specifically for trove guest agent:
+
+* Custom container image registry.
+
+ Trove guest agent pulls container images from docker hub by default, this can
+ be changed by setting:
+
+ .. code-block:: ini
+
+ [guest_agent]
+ container_registry =
+ container_registry_username =
+ container_registry_password =
+
+ Then in the specific database config section, the customized container
+ registry can be used, e.g.
+
+ .. code-block:: ini
+
+ [mysql]
+ docker_image = your-registry/your-repo/mysql
+ backup_docker_image = your-registry/your-repo/db-backup-mysql:1.1.0
Initialize Trove Database
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -291,6 +319,9 @@ Trove controller are all started and kept running.
Preparing the Guest Images
~~~~~~~~~~~~~~~~~~~~~~~~~~
+Currently supported databases are: MySQL 5.7.X, MariaDB 10.4.X. PostgreSQL 12.4
+is partially supported.
+
Now that the Trove system is installed, the next step is to build the images
that we will use for the DBaaS to function properly. This is possibly the most
important step as this will be the gold standard that Trove will use for a