Charmed MySQL K8s
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 127 | 22 Mar 2024 | |
8.0/candidate | 127 | 18 Mar 2024 | |
8.0/beta | 132 | 22 Mar 2024 | |
8.0/edge | 137 | 16 Apr 2024 |
juju deploy mysql-k8s --channel 8.0/stable
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Juju version
The charm supports both Juju 2.9 LTS and Juju 3.1.
Note: Juju 3.1 is supported from the charm revision 92+ only.
The minimum supported Juju versions are:
- 2.9.44+ (due to missing pebble
kill-delay
feature + fixes for K8s scale-down + managing storage issues). - 3.1.7+ (Juju secrets refactored/stabilized in Juju 3.1.7)
Kubernetes requirements
- Kubernetes 1.27+
- Canonical MicroK8s 1.27+ (snap channel 1.27-strict/stable and newer)
Minimum requirements
Make sure your machine meets the following requirements:
- Ubuntu 22.04 (Jammy) or later.
- 8GB of RAM.
- 2 CPU threads.
- At least 20GB of available storage.
- Access to the internet for downloading the required OCI/ROCKs and charms.
Supported architectures
The charm is based on ROCK OCI named “charmed-mysql”, which is recursively based on SNAP “charmed-mysql”, which is currently available for amd64
only! The architecture arm64
support is planned. Please contact us if you are interested in new architecture!
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.