help text for juju add-unit needs improving

Bug #1567925 reported by Nick Veitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Reed O'Brien

Bug Description

e.g.

juju add-unit

Usage: juju add-unit [options] <service name>

Summary:
Adds one or more units to a deployed service.

Options:

-m, --model (= "")
 Model to operate in
-n, --num-units (= 1)
 Number of units to add
--to (= "")
 The machine and/or container to deploy the unit in (bypasses constraints)

Details:
Adding units to an existing service is a way to scale out that service. Many charms will seamlessly support horizontal scaling, others may need an additional service to facilitate load-balancing (check the individual charm documentation).
This command is applied to services that have already been deployed.
By default, services are deployed to newly provisioned machines in accordance with any service or model constraints. Alternatively, this command also supports the placement directive ("--to") for targeting specific machines or containers, which will bypass any existing constraints.

Examples:

Add five units of wordpress on five new machines:

   juju add-unit wordpress -n 5

Add one unit of mysql to the existing machine 23:

   juju add-unit mysql --to 23

Create a new LXC container on machine 7 and add one unit of mysql:

   Juju add-unit mysql --to lxc:7

Add a unit of mariadb to LXC container number 3 on machine 24:

   juju add-unit mariadb --to 24/lxc/3

See also: remove-unit

Tags: helpdocs
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.0-rc1
Changed in juju-core:
assignee: nobody → Reed O'Brien (reedobrien)
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Reed O'Brien (reedobrien) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta5 → none
milestone: none → 2.0-beta5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.