/mysql-router-k8s-operator

Mysql router operator charm for kubernetes

Primary LanguagePythonApache License 2.0Apache-2.0

mysql-router-k8s-operator

Charmhub Release Tests Sync docs from Discourse

Description

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)]
Loading

Usage

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

Relations are defined in metadata.yaml are:

  • Requires: db
  • Provides: db

OCI Images

Currently using the following OCI images:

  • mysql-router: mysql/mysql-router:8.0

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.