Skip to content

MariaDB

Let's see how to run MariaDB Community Server in a Kubernetes cluster.

Configuration

We'll use the Bitnami chart:

Deployment

bash
# adds Helm chart repository
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

# installs
helm upgrade --install mariadb bitnami/mariadb --namespace mariadb --create-namespace

# uninstalls
helm uninstall mariadb -n mariadb
kubectl delete ns mariadb

Examples

Azure

bash
# installs the chart with helm
helm upgrade --install mariadb bitnami/mariadb --namespace mariadb --create-namespace
  --set mariadb.global.storageClass=azureblob-fuse \
  --set mariadb.image.debug=true