Fix update docs

This commit is contained in:
Alex Dadgar 2017-03-27 11:44:46 -07:00
parent c9731671ad
commit 7d74fb60ea
2 changed files with 5 additions and 5 deletions

View File

@ -34,8 +34,8 @@ job "docs" {
## `update` Parameters
- `max_parallel` `(int: 0)` - Specifies the number of tasks that can be updated
at the same time.
- `max_parallel` `(int: 0)` - Specifies the number of task groups that can be
updated at the same time.
- `stagger` `(string: "0ms")` - Specifies the delay between sets of updates.
This is specified using a label suffix like "30s" or "1h".
@ -47,8 +47,8 @@ The following examples only show the `update` stanzas. Remember that the
### Serial Upgrades
This example uses a serial upgrade strategy, meaning exactly one task will be
updated at a time, waiting 60 seconds until the next task is upgraded.
This example uses a serial upgrade strategy, meaning exactly one task group will
be updated at a time, waiting 60 seconds until the next task group is upgraded.
```hcl
update {

View File

@ -83,7 +83,7 @@ changed, another user has modified the job and the plan's results are
potentially invalid.
```
Here we can see that Nomad will destroy the 3 existing tasks and create 3
Here we can see that Nomad will destroy the 3 existing task groups and create 3
replacements but it will occur with a rolling update with a stagger of `30s`.
For more details on the `update` block, see the