Merge pull request #2616 from hashicorp/docs-fix-0.5.5-upgrade
Fix upgrade instructions for docker load option
This commit is contained in:
commit
c2592f9250
|
@ -25,8 +25,24 @@ images to load, in 0.5.5 it has been changed to a single string. No
|
|||
functionality was changed. Even if more than one item was specificed prior to
|
||||
0.5.5 only the first item was used.
|
||||
|
||||
If you have jobs that use the `load` option first upgrade all nodes to 0.5.5,
|
||||
then resubmit those jobs with `load` as a single string.
|
||||
To do a zero-downtime deploy with jobs that use the `load` option:
|
||||
|
||||
* Upgrade servers to version 0.5.5 or later.
|
||||
|
||||
* Deploy new client nodes on the same version as the servers.
|
||||
|
||||
* Resubmit jobs with the `load` option fixed and a constraint to only run on
|
||||
version 0.5.5 or later:
|
||||
|
||||
```hcl
|
||||
constraint {
|
||||
attribute = "nomad.version"
|
||||
operator = "version"
|
||||
value = ">= 0.5.5"
|
||||
}
|
||||
```
|
||||
|
||||
* Drain and shutdown old client nodes.
|
||||
|
||||
### Validation changes
|
||||
|
||||
|
|
Loading…
Reference in a new issue