Charmed MySQL K8s
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 180 | 02 Sep 2024 | |
8.0/stable | 181 | 02 Sep 2024 | |
8.0/candidate | 211 | 11 Dec 2024 | |
8.0/candidate | 210 | 11 Dec 2024 | |
8.0/beta | 211 | 09 Dec 2024 | |
8.0/beta | 210 | 09 Dec 2024 | |
8.0/edge | 211 | 09 Dec 2024 | |
8.0/edge | 210 | 09 Dec 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:
Deploy on MicroK8s
This guide assumes you have a running Juju and MicroK8s environment.
For a detailed walkthrough of setting up an environment and deploying the charm on MicroK8s, refer to the Tutorial.
Bootstrap a juju controller and create a model if you haven’t already:
juju bootstrap microk8s <controller name>
juju add-model <model name>
Deploy MySQL:
juju deploy mysql-k8s --channel 8.0/stable --trust
The --trust
flag is necessary to create some K8s resources.
See the
juju deploy
documentation for all available options at deploy time.See the Configurations tab for specific MySQL parameters.
Sample output of juju status --watch 1s
:
Model Controller Cloud/Region Version SLA Timestamp
mysql overlord microk8s/localhost 2.9.38 unsupported 22:48:57+01:00
App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.31 active 1 mysql-k8s 8.0/stable 75 10.152.183.234 no
Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.84.74 Primary