• By Data Platform
Channel Version Revision Published Runs on
latest/edge 14 14 08 Sep 2022
Ubuntu 20.04
juju deploy mysql-k8s --channel edge
Show information


MySQL k8s Charmed Operator


The MySQL operator provides an open-source relational database management system (RDBMS). This repository contains a Juju Charm for deploying MySQL on Kubernetes clusters.

This charm is currently in development, with High Availability via Group Replication as a short-term goal.


To deploy this charm using Juju 2.9.0 or later, run:

juju add-model mysql-k8s
juju deploy mysql-k8s

To confirm the deployment, you can run:

juju status --color

Once MySQL starts up, it will be running on the default port (3306).

If required, you can remove the deployment completely by running:

juju destroy-model -y mysql-k8s --destroy-storage

Note: the --destroy-storage will delete any data persisted by MySQL.


There are no relations implemented yet.

OCI Images

This charm by default uses the latest version of the ubuntu/mysql image.


Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and for developer guidance.