Skip to content

ps scale

apppack ps scale

scale the number of processes that run for a specific process type

Synopsis

Scale the number of processes that run for a specific process type.

<process_count> can either be a single number, e.g. 2 or a range, e.g. 1-5. When a range is provided, the process will autoscale within that range based on CPU usage.

apppack ps scale <process_type> <process_count>

Examples

apppack -a my-app ps scale web 3  # run 3 web processes
apppack -a my-app ps scale worker 1-4  # autoscale worker service from 1 to 4 processes

Options

  -h, --help   help for scale

Options inherited from parent commands

  -a, --app-name string   app name (required)
      --debug             enable debug logging

SEE ALSO