Avisi cloud logo
Commands

node-pools scale

scale AME node-pools

acloud node-pools scale [node-pool-id]... [flags]

Examples

# scale node-pool with by id(s)
acloud node-pools scale 1001 1002 --node-count 0

# scale all node-pools in cluster down to 0 nodes
acloud node-pools scale -c cluster-slug --node-count 0

# configure auto-scaling on node-pool by id
acloud node-pools scale 1001 --auto-scaling --node-count 1	--max-size 3

# enable autoscaling from 1 to 3 nodes for all node-pools of a cluster
acloud node-pools scale \
	-c cluster-slug \
	--auto-scaling \
	--node-count 1 \
	--max-size 3

Options

      --auto-scaling           Enable automatic scaling of the node pool (use --node-count and --max-size to configure)
  -c, --cluster strings        filter by cluster
  -h, --help                   help for scale
      --max-size int           maximum number of nodes (requires auto-scaling to be enabled)
      --node-count int         number of nodes (min-size when auto-scaling is enabled)
      --yes-i-am-really-sure   confirm scaling the node-pool(s)

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO