MySQL Router How-to - Manage Units

How to deploy and manage units

Basic Usage

To deploy a single unit of MySQL Router using its default configuration:

juju deploy mysql-router --channel dpe/edge

Scaling

MySQL Router is a subordinated charm, both scaling-up and scaling-down operations are performed via principal application using juju add-unit:

juju add-unit application -n <desired_num_of_units>

The subordinated application will be scaled automatically, following the principal application.