1ctl app scale
Scale an application to a specific number of replicas without triggering a redeployment.
1ctl app scale <app-name> <replicas>Arguments
Section titled “Arguments”| Argument | Required | Variadic |
|---|---|---|
app-name |
Yes | No |
replicas |
Yes | No |
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--replicas |
integer | No | 0 |
Target replica count |
--help, -h |
boolean | No | — | Show help |
Examples
Section titled “Examples”# Scale to 3 replicas (positional)1ctl app scale my-app 3
# Scale using the flag while supplying the target replica count1ctl app scale my-app 5 --replicas 5
# Scale down to 11ctl app scale my-app 1