Autoscale Commands

These commands were added in version 5.8.1

For making changes to the triggers or the autoscale group itself, see the Autoscale Portal

autoscale list

List AutoScale Groups.

autoscale list [OPTIONS]

autoscale detail

Get details of an Autoscale groups.

autoscale detail [OPTIONS] IDENTIFIER

Arguments

IDENTIFIER

Required argument

autoscale scale

Scales an Autoscale group. Bypasses a scale group’s cooldown period.

autoscale scale [OPTIONS] IDENTIFIER

Options

--up, --down

‘–up’ adds guests, ‘–down’ removes guests.

--by, --to

Required ‘–by’ will add/remove the specified number of guests. ‘–to’ will add/remove a number of guests to get the group’s guest count to the specified number.

--amount <amount>

Required Number of guests for the scale action.

Arguments

IDENTIFIER

Required argument

autoscale logs

Retreive logs for an autoscale group

autoscale logs [OPTIONS] IDENTIFIER

Options

-d, --date-min <date_min>

Earliest date to retreive logs for.

Arguments

IDENTIFIER

Required argument

autoscale tag

Tags all guests in an autoscale group.

–tags “Use, quotes, if you, want whitespace”

–tags Otherwise,Just,commas

autoscale tag [OPTIONS] IDENTIFIER

Options

-g, --tags <tags>

Tags to set for each guest in this group. Existing tags are overwritten. An empty string will remove all tags

Arguments

IDENTIFIER

Required argument

autoscale edit

Edits an Autoscale group.

autoscale edit [OPTIONS] IDENTIFIER

Options

--name <name>

Scale group’s name.

--min <minimum>

Set the minimum number of guests

--max <maximum>

Set the maximum number of guests

--userdata <userdata>

User defined metadata string

-F, --userfile <userfile>

Read userdata from a file

--cpu <cpu>

Number of CPUs for new guests (existing not effected

--memory <memory>

RAM in MB or GB for new guests (existing not effected

Arguments

IDENTIFIER

Required argument