Deploy MariaDB from a Helm chart
Contributors Download PDF of this page
Learn how to deploy MariaDB from the Bitnami Helm chart. After you deploy MariaDB on your cluster, you can manage the application with Astra Control.
MariaDB is a validated app for Astra Control. Learn the difference between Validated and Standard apps.
|Applications deployed from the Google and Azure Marketplaces have not been validated. Some users report issues with discovery and/or backup with Google Marketplace deployments of Postgres, MariaDB, and MySQL.|
A GKE or AKS cluster that has been added to Astra Control Service.
Updated versions of Helm (version 3.2+) and Kubectl installed.
Kubeconfig configured using the gcloud tool with a command like
gcloud container clusters get-credentials my-cluster-name
Kubeconfig configured using the az tool with a command like
az aks get-credentials --resource-group resource-group-name --name aks-cluster-name
Two important notes on this process:
You must deploy your app after the cluster is added to Astra Control, not before.
You must deploy the Helm chart in a namespace other than the default.
Add the Bitnami chart repo:
helm repo add bitnami https://charts.bitnami.com/bitnami
Deploy MariaDB with the command:
helm install mariadb bitnami/mariadb --namespace testdb --create-namespace --set db.database=test_db,db.user=test_db_user,db.password=choose-your-password > /dev/null 2>&1
This does the following:
Deploys MariaDB on the
Creates a database named
Creates a user
test_db_userwith the password that you provided.
|This method of setting the password at deployment is insecure. We do not recommend this for a production environment.|
After the pods are online, you can manage the app with Astra Control. Astra Control allows you to manage an app at the namespace level or using a helm label