MySQL Router K8s
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 155 | 02 Sep 2024 | |
8.0/stable | 154 | 02 Sep 2024 | |
8.0/candidate | 155 | 27 Aug 2024 | |
8.0/candidate | 154 | 27 Aug 2024 | |
8.0/beta | 155 | 20 Aug 2024 | |
8.0/beta | 154 | 20 Aug 2024 | |
8.0/edge | 167 | 07 Oct 2024 | |
8.0/edge | 166 | 07 Oct 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>