scale
Display or update scaling parameters for Services. When called without --count, --cpu, or --memory, displays the current scaling configuration for all Services. When flags are provided, updates the specified Service's scaling parameters.
Syntax
$ convox scale [service]
Flags
| Flag | Short | Description |
|---|---|---|
--app |
-a |
App name |
--count |
Desired Process count | |
--cpu |
CPU units (1024 = 1 vCPU) | |
--memory |
Memory in MB | |
--rack |
-r |
Rack name |
--wait |
-w |
Wait for completion |
Example Usage
$ convox scale -a myapp
SERVICE DESIRED RUNNING CPU MEMORY
web 2 2 256 512
worker 1 1 512 1024
$ convox scale web --count 3 -a myapp