MySQL is one of the most popular database servers in the world. Notable users include Wikipedia, Facebook, and Google.

This chart bootstraps a single master and multiple slave MySQL deployment on a Kubernetes cluster using the Helm package manager. Largely inspired by this tutorial, further work was made to ‘production-ize’ the example.


  • Kubernetes 1.6+
  • PV provisioner support in the underlying infrastructure


The MySQL image stores the MySQL data and configurations at the /var/lib/MySQL path of the container.

By default, persistence is enabled, and a PersistentVolumeClaim is created and mounted in that directory.

In order to disable this functionality, you can change the values.yaml to disable persistence and use an emptyDir instead.

Tell us about a new Kubernetes application


Never miss a thing! Sign up for our newsletter to stay updated.


Discover and learn about everything Kubernetes