Public | Automated Build

Last pushed: 9 months ago
Short Description
Example MariaDB Galera image for Kubernetes StatefulSet
Full Description

MariaDB Galera on Kubernetes

Example of Docker image of MariaDB Galera cluster to be used in Kubernetes StatefulSet

Based on official MariaDB image.
Uses peer-finder.go util from Kibernetes contrib.
Depending on service peers updates wsrep_* settings in a Galera config file.


See: MariaDB image documentation

Additional variables:

  • POD_NAMESPACE - The namespace, e.g. default
  • GALERA_CONF - The location of galera config file, e.g. /etc/mysql/conf.d/galera.cnf
  • GALERA_SERVICE - The service name to lookup, e.g. galera

Based on I cloned and rebuilt just to make sure their was no funny bussiness in the orginal build.

Docker Pull Command
Source Repository