Charmed MySQL K8s

Channel Revision Published Runs on
8.0/stable 127 22 Mar 2024
Ubuntu 22.04
8.0/candidate 150 Today
Ubuntu 22.04
8.0/beta 150 Today
Ubuntu 22.04
8.0/edge 150 Yesterday
Ubuntu 22.04
juju deploy mysql-k8s --channel 8.0/stable
Show information


Deploy Charmed MySQL K8s

Please follow the Tutorial to deploy the charm on MicroK8s.

Short story for your Ubuntu 22.04 LTS:

sudo snap install multipass
multipass launch --cpus 4 --memory 8G --disk 30G --name my-vm charm-dev # tune CPU/RAM/HDD accordingly to your needs
multipass shell my-vm

juju add-model mysql
juju deploy mysql-k8s --channel 8.0/stable --trust # --config profile=testing
juju status --watch 1s

The expected result:

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      3  mysql-k8s  8.0/stable  75  no       

Unit          Workload  Agent  Address      Ports  Message
mysql-k8s/0*  active    idle          Primary
mysql-k8s/1   active    idle
mysql-k8s/2   active    idle

Check the Testing reference to test your deployment.

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