Try It Out
In this example we will deploy MariaDB on a Kubernetes cluster using the Minimus MariaDB Advanced Helm chart. MariaDB will be configured with hardened security settings and production-grade defaults.
Step 1: Start Cluster
If you have a cluster to work with, skip this step. Otherwise, start a Minikube cluster. Deployment instructions
Step 2: Create Namespace
Create a namespace:
kubectl create ns mariadb-advanced
Step 3: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-mariadb-advanced oci://helm.mini.dev/mariadb-advanced \
--version 26.1.6 \
-n mariadb-advanced \
--wait
If you want to override the chart's defaults, go to the Values tab, save a copy locally with your changes. Deploy the chart with your overrides using -f values.yaml:
helm install my-mariadb-advanced oci://helm.mini.dev/mariadb-advanced \
--version 26.1.6 \
-f values.yaml \
-n mariadb-advanced \
--wait
Step 4: Verify MariaDB Advanced is Running
To check that the pod was successfully created run:
kubectl get pods -n mariadb-advanced -l app.kubernetes.io/name=mariadb
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-mariadb-advanced-mariadb-0 1/1 Running 0 2m
Step 5: Test Database Connection
Retrieve the MariaDB root password:
export MARIADB_ROOT_PASSWORD=$(kubectl get secret my-mariadb-advanced-mariadb -n mariadb-advanced -o jsonpath='{.data.mariadb-root-password}' | base64 -d)
Forward the MariaDB port to your local machine:
kubectl port-forward svc/my-mariadb-advanced-mariadb 3306:3306 -n mariadb-advanced
In another terminal, connect using mariadb:
mariadb -h localhost -P 3306 -u root -p"$MARIADB_ROOT_PASSWORD" -e "SELECT 1;"
You should see a result confirming the connection is working.
Step 6: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-mariadb-advanced -n mariadb-advanced
kubectl delete namespace mariadb-advanced
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.