The information in this doc is based on Juju version 3.5.4, and may not accurately reflect other versions of Juju.
See also: remove-application, add-unit, remove-unit
Summary
Set the desired number of k8s application units.
Usage
juju scale-application [options] <application> <scale>
Options
Flag | Default | Usage |
---|---|---|
-B , --no-browser-login |
false | Do not use web browser for authentication |
-m , --model |
Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
Examples
juju scale-application mariadb 2
Details
Scale a k8s application by specifying how many units there should be. The new number of units can be greater or less than the current number, thus allowing both scale up and scale down.