Skip to content

Commit

Permalink
docs updates and changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Feb 17, 2021
1 parent 22c6d14 commit 4240a9a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ BUG FIXES:
* consul: Fixed a bug where failing tasks with group services would only cause the allocation to restart once instead of respecting the `restart` field. [[GH-9869](https://github.com/hashicorp/nomad/issues/9869)]
* consul/connect: Fixed a bug where gateway proxy connection default timeout not set [[GH-9851](https://github.com/hashicorp/nomad/pull/9851)]
* consul/connect: Fixed a bug preventing more than one connect gateway per Nomad client [[GH-9849](https://github.com/hashicorp/nomad/pull/9849)]
* deployments: Fixed a bug where deployments with multiple task groups and manual promotion would fail if promoted after the progress deadline. [[GH-10042](https://github.com/hashicorp/nomad/issues/10042)]
* drivers/docker: Fixed a bug preventing multiple ports to be mapped to the same container port [[GH-9951](https://github.com/hashicorp/nomad/issues/9951)]
* driver/qemu: Fixed a bug where network namespaces were not supported for QEMU workloads [[GH-9861](https://github.com/hashicorp/nomad/pull/9861)]
* nomad/structs: Fixed a bug where static ports with the same value but different `host_network` were invalid [[GH-9946](https://github.com/hashicorp/nomad/issues/9946)]
Expand Down
21 changes: 12 additions & 9 deletions website/content/docs/job-specification/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,23 @@ a future release.
- `progress_deadline` `(string: "10m")` - Specifies the deadline in which an
allocation must be marked as healthy. The deadline begins when the first
allocation for the deployment is created and is reset whenever an allocation
as part of the deployment transitions to a healthy state. If no allocation
transitions to the healthy state before the progress deadline, the deployment
is marked as failed. If the `progress_deadline` is set to `0`, the first
allocation to be marked as unhealthy causes the deployment to fail. This is
specified using a label suffix like "2m" or "1h".
as part of the deployment transitions to a healthy state or when a
deployment is manually reported. If no allocation transitions to the healthy
state before the progress deadline, the deployment is marked as failed. If
the `progress_deadline` is set to `0`, the first allocation to be marked as
unhealthy causes the deployment to fail. This is specified using a label
suffix like "2m" or "1h".

- `auto_revert` `(bool: false)` - Specifies if the job should auto-revert to the
last stable job on deployment failure. A job is marked as stable if all the
allocations as part of its deployment were marked healthy.

- `auto_promote` `(bool: false)` - Specifies if the job should auto-promote to the
canary version when all canaries become healthy during a deployment. Defaults to
false which means canaries must be manually updated with the `nomad deployment promote`
command.
- `auto_promote` `(bool: false)` - Specifies if the job should auto-promote to
the canary version when all canaries become healthy during a
deployment. Defaults to false which means canaries must be manually updated
with the `nomad deployment promote` command. If a job has multiple task
groups, all must be set to `auto_promote = true` in order for the deployment
to be promoted automatically.

- `canary` `(int: 0)` - Specifies that changes to the job that would result in
destructive updates should create the specified number of canaries without
Expand Down

0 comments on commit 4240a9a

Please sign in to comment.