MySQL Router K8s
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 96 | 22 Mar 2024 | |
8.0/candidate | 112 | 02 May 2024 | |
8.0/beta | 112 | 02 May 2024 | |
8.0/edge | 112 | 02 May 2024 |
juju deploy mysql-router-k8s --channel 8.0/beta
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
How to deploy and manage units
Basic Usage
To deploy a single unit of MySQL Router using its default configuration
juju deploy mysql-router-k8s --channel 8.0 --trust
To deploy MySQL Router in high-availability mode, specify the number of desired units with the -n
option.
juju deploy mysql-router-k8s --channel 8.0 --trust -n <number_of_replicas>
Scaling
Both scaling-up and scaling-down operations are performed using juju scale-application
:
juju scale-application mysql-router-k8s <desired_num_of_units>