mysql-k8s

Charmed MySQL K8s

Channel Revision Published Runs on
8.0/stable 255 23 Jun 2025
Ubuntu 22.04
8.0/stable 254 23 Jun 2025
Ubuntu 22.04
8.0/candidate 255 18 Jun 2025
Ubuntu 22.04
8.0/candidate 254 18 Jun 2025
Ubuntu 22.04
8.0/beta 255 18 Jun 2025
Ubuntu 22.04
8.0/beta 254 18 Jun 2025
Ubuntu 22.04
8.0/edge 257 24 Jun 2025
Ubuntu 22.04
8.0/edge 256 24 Jun 2025
Ubuntu 22.04
juju deploy mysql-k8s --channel 8.0/stable
Show information

Platform:

System requirements

The following are the minimum software and hardware requirements to run Charmed MySQL on Kubernetes.

Summary


Software

  • Ubuntu 22.04 (Jammy) or later
  • Kubernetes 1.27+
  • Canonical MicroK8s 1.27+ (snap channel 1.27-strict/stable and newer)

Juju

The charm supports several Juju releases from 2.9 LTS onwards. The table below shows which minor versions of each major Juju release are supported by the stable Charmhub releases of MySQL K8s.

Juju major release Supported minor versions Compatible charm revisions Comment
3.6 LTS 3.6.1+ 213+
3.5 3.5.2+ 153+
3.4 3.4.3+ 153+ Known issues with 3.4.2: bug #1, bug #2
3.1 3.1.6+ 99+
2.9 LTS 2.9.32+ 75 +

MySQL Group Replication requirements

  • In order to integrate with this charm, every table created by the integrated application must have a primary key. This is required by the group replication plugin enabled in this charm.
  • The count of Charmed MySQL K8s units in a single Juju application is limited to 9. Unit 10+ will start; however, they will not join the cluster but sleep in a hot-swap reserve.

Hardware

Make sure your machine meets the following requirements:

  • 8GB of RAM.
  • 2 CPU threads.
  • At least 20GB of available storage.

The charm is based on the charmed-mysql ROCK OCI, which is recursively based on the charmed-mysql snap. It currently supports:

  • amd64
  • arm64 (from revision 180+)

Contact us if you are interested in a new architecture!

Networking

  • Access to the internet for downloading the required OCI/ROCKs and charms.
  • Only IPv4 is supported at the moment

Help improve this document in the forum (guidelines). Last updated 5 months ago.