Skip to content

dadittoz/k8s-mariadb-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MariaDB Galera on Kubernetes

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

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.

Settings

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

About

MariaDB Galera on Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.4%
  • Dockerfile 6.6%