Charmed operator for mysql-router under k8s. MySQL-Router is a database proxy for Group Replicated MySQL clusters.
The proxy sit between the MySQL cluster and a client application, e.g.:
flowchart TD
id1(Application) --db--> id2(MySQL Router)
id2 --db--> id3[(MySQL Cluster)]
This charm must be used coupled with mysql charm, through a relation, e.g.:
juju deploy mysql-k8s --trust
juju deploy mysql-router-k8s --trust
juju integrate mysql-k8s mysql-router-k8s
Relations are defined in metadata.yaml
are:
- Requires: db
- Provides: db
Currently using the following OCI images:
- mysql-router: mysql/mysql-router:8.0
Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.