Charmed MySQL K8s

Channel Revision Published Runs on
8.0/stable 180 02 Sep 2024
Ubuntu 22.04
8.0/stable 181 02 Sep 2024
Ubuntu 22.04
8.0/candidate 180 26 Aug 2024
Ubuntu 22.04
8.0/candidate 181 26 Aug 2024
Ubuntu 22.04
8.0/beta 207 15 Nov 2024
Ubuntu 22.04
8.0/beta 206 15 Nov 2024
Ubuntu 22.04
8.0/edge 207 09 Oct 2024
Ubuntu 22.04
8.0/edge 206 09 Oct 2024
Ubuntu 22.04
juju deploy mysql-k8s --channel 8.0/stable
Show information

Platform:

Clients for Async replication

Pre-requisits

Make sure both Rome and Lisbon Clusters are deployed using the Async Deployment manual!

Offer and consume DB endpoints

juju switch rome
juju offer db1:database db1-database

juju switch lisbon
juju offer db2:database db2-database

juju add-model app ; juju switch app
juju consume rome.db1-database
juju consume lisbon.db2-database

Internal Juju app/clients

juju switch app

juju deploy mysql-test-app
juju deploy mysql-router-k8s --trust --channel 8.0/edge

juju relate mysql-test-app mysql-router-k8s
juju relate mysql-router-k8s db1-database

External Juju clients

juju switch app

juju deploy data-integrator --config database-name=mydatabase
juju deploy mysql-router-k8s mysql-router-external --trust --channel 8.0/edge

juju relate data-integrator mysql-router-external
juju relate mysql-router-external db1-database

juju run data-integrator/leader get-credentials

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