Files
charts/mariadb-cluster
Sameer Naik 585850c349 mariadb: added secrets manifest for sensitive variables.
A secret volume named `mariadb` is created to store password variables.
2016-07-05 23:09:34 +05:30
..

MariaDB Cluster

MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

Based on the Bitnami MariaDB image for docker, this Chart bootstraps a MariaDB cluster deployment on Kubernetes using Helm Classic. The MariaDB cluster consists of one master and three slaves and the slaves can be scaled up or down as required.

Persistence

For persistence of the MariaDB data, mount a storage volume at the /bitnami/mariadb path of the MariaDB master pod.

By default the MariaDB Chart mounts an emptyDir volume.

Configuration

To edit the default MariaDB configuration, run

$ helmc edit mariadb-cluster

Configurable parameters can be specified in tpl/values.toml. If not specified default values as defined by the Bitnami MariaDB image are used.

Tip: If you have issues running the above command, add se autochdir to your ~/.vimrc profile or simply edit ~/.helmc/workspace/charts/mariadb-cluster/tpl/values.toml in your favourite editor.

Finally, generate the chart to apply your changes to the configuration.

$ helmc generate --force mariadb-cluster

Cleanup

To delete the MariaDB deployment completely:

$ helmc uninstall -n default mariadb-cluster