Move group_limit & group_wait under boot
Also make formatting the group strategy the responsibility of the commander.
This commit is contained in:
@@ -835,13 +835,14 @@ mrsk lock release
|
||||
|
||||
When deploying to large numbers of hosts, you might prefer not to restart your services on every host at the same time.
|
||||
|
||||
MRSK's default is to boot new containers on all hosts in parallel. But you can control this by configuring `group_limit` and `group_wait`.
|
||||
MRSK's default is to boot new containers on all hosts in parallel. But you can control this by configuring `group_limit` and `group_wait` as boot options:
|
||||
|
||||
```yaml
|
||||
service: myservice
|
||||
|
||||
group_limit: 10
|
||||
group_wait: 30
|
||||
boot:
|
||||
group_limit: 10
|
||||
group_wait: 2
|
||||
```
|
||||
|
||||
When `group_limit` is specified, containers will be booted on, at most, `group_limit` hosts at once. MRSK will pause for `group_wait` seconds between batches.
|
||||
|
||||
Reference in New Issue
Block a user