Cloudbreak CLI Reference
Also available as:
PDF

cluster scale

Scales a cluster by adding or removing nodes.

Required options

--name <value> Cluster name

--group-name <value> Name of the group to scale

--desired-node-count <value> Desired number of nodes

Options

--wait Wait for the operation to finish. No argument is required

--output <value> Supported formats: json, yaml, table (default: “json”) [$CB_OUT_FORMAT]

--server <value> Cloudbreak server address [$CB_SERVER_ADDRESS]

--username <value> Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password <value> Cloudbreak password [$CB_PASSWORD]

--workspace <value> Name of the workspace holding the resource

--profile <value> Selects a config profile to use [$CB_PROFILE]

--auth-type <value> Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Scales a cluster called "test1234" by adding 3 nodes to the worker host group:

cb cluster scale --name test1234 --group-name worker --desired node-count 3