f6e84fe15f
This PS updates the MariaDB chart to better support clustering, using a configmap to track cluster state. Change-Id: Ifd9c3d63353a9b587384b6f13c0863ecc4fbd956 Signed-off-by: Pete Birley <pete@port.direct>
42 lines
896 B
ReStructuredText
42 lines
896 B
ReStructuredText
MariaDB Container
|
|
=================
|
|
|
|
This container builds an image with MariaDB for use with OpenStack-Helm.
|
|
|
|
Instructions
|
|
------------
|
|
|
|
OS Specific Host setup:
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Ubuntu:
|
|
^^^^^^^
|
|
|
|
From a freshly provisioned Ubuntu 16.04 LTS host run:
|
|
|
|
.. code:: bash
|
|
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y \
|
|
docker.io \
|
|
git
|
|
|
|
Build the MariaDB Image
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
A known good image is published to dockerhub on a fairly regular basis, but if
|
|
you wish to build your own image, from the root directory of the OpenStack-Helm
|
|
repo run:
|
|
|
|
.. code:: bash
|
|
|
|
sudo docker build \
|
|
--network=host \
|
|
--force-rm \
|
|
--pull \
|
|
--no-cache \
|
|
--file=./tools/images/mariadb/Dockerfile \
|
|
-t docker.io/openstackhelm/mariadb:10.2.18 \
|
|
tools/images/mariadb
|
|
sudo docker push docker.io/openstackhelm/mariadb:10.2.18
|