Skip to content

Commit

Permalink
update readme for --auto-scaling-mix/max
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Apr 14, 2023
1 parent 5691269 commit d91a8b3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,21 @@ appspec:
To change a desired count of the service, specify `scale --tasks`.

```console
$ ecspresso scale --config ecspresso.yml --tasks 10
$ ecspresso scale --tasks 10
```

`scale` command is equivalent to `deploy --skip-task-definition --no-update-service`.

### Manage Application Auto Scaling

When you use Application Auto Scaling for ECS service, you can change the min/max count of the auto-scaling settings by `ecspresso scale` command.

To change the service's min/max count by Application Auto Scaling, specify `scale --auto-scaling-min` or `scale --auto-scaling-max`.

```console
$ ecspresso scale --tasks 5 --autos-caling-min 5 --autos-caling-max 20
```

## Example of deploy

escpresso can deploy a service by `service_definition` JSON file and `task_definition`.
Expand Down

0 comments on commit d91a8b3

Please sign in to comment.