MariaDB K8s Operator

Canonical Publisher

Platform:

Channel Revision Published Runs on
latest/edge 8 04 Jul 2026
Ubuntu 24.04
juju deploy mariadb-k8s --channel edge

Deploys and manages MariaDB 10.6 on Kubernetes.

Experimental charm — not for production use.

This charm is a temporary placeholder developed specifically to support the Frappe HRMS K8s charm while it awaits native PostgreSQL / MySQL support. It is not a general-purpose MariaDB operator and will be retired once Frappe HRMS gains first-class support for a supported database backend.

A Kubernetes charm that deploys MariaDB 10.6 via Pebble.

After deployment the unit reaches active/idle immediately, ready to accept database relation requests from consumer charms (e.g. frappe-hrms-k8s). On each request the charm creates a dedicated MariaDB database and user, then writes the credentials back to the relation so the consumer can connect.

The charm uses the mysql_client interface, compatible with the data-platform-libs DatabaseRequires/DatabaseProvides libraries.