Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

How to connect DB from outside of Kubernetes

External K8s application (non-Juju)

Use case: the client application is a non-Juju application outside of DB K8s deployment.

To connect the Charmed MySQL K8s database from outside of the Kubernetes cluster, the charm MySQL Router K8s should be deployed. Please follow the MySQL Router K8s documentation.

External K8s relation (Juju)

Use case: the client application is a Juju application outside of DB K8s deployment (e.g. hybrid Juju deployment with mixed K8s and VM applications).

In this case the the cross-hybrid-relation is necessary. Please contact Data team to discuss the possible option for your use case.

Last updated 16 days ago. Help improve this document in the forum.