mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
docs: clarify that a default update strategy is used when update strategy is omitted
This commit is contained in:
@@ -99,6 +99,9 @@ job "docs" {
|
||||
within this group. This can be specified multiple times, to add a task as part
|
||||
of the group.
|
||||
|
||||
- `update` <code>([Update][update]: nil)</code> - Specifies the task's update
|
||||
strategy. When omitted, a default update strategy is applied.
|
||||
|
||||
- `vault` <code>([Vault][]: nil)</code> - Specifies the set of Vault policies
|
||||
required by all tasks in this group. Overrides a `vault` block set at the
|
||||
`job` level.
|
||||
@@ -268,5 +271,6 @@ group "second" {
|
||||
[restart]: /docs/job-specification/restart 'Nomad restart Job Specification'
|
||||
[service]: /docs/job-specification/service 'Nomad service Job Specification'
|
||||
[service_discovery]: /docs/integrations/consul-integration#service-discovery 'Nomad Service Discovery'
|
||||
[update]: /docs/job-specification/update 'Nomad update Job Specification'
|
||||
[vault]: /docs/job-specification/vault 'Nomad vault Job Specification'
|
||||
[volume]: /docs/job-specification/volume 'Nomad volume Job Specification'
|
||||
|
||||
@@ -116,7 +116,7 @@ job "docs" {
|
||||
use. Nomad provides the `service`, `system` and `batch` schedulers.
|
||||
|
||||
- `update` <code>([Update][update]: nil)</code> - Specifies the task's update
|
||||
strategy. When omitted, rolling updates are disabled.
|
||||
strategy. When omitted, a default update strategy is applied.
|
||||
|
||||
- `vault` <code>([Vault][]: nil)</code> - Specifies the set of Vault policies
|
||||
required by all tasks in this job.
|
||||
|
||||
@@ -4,7 +4,7 @@ page_title: update Stanza - Job Specification
|
||||
description: |-
|
||||
The "update" stanza specifies the group's update strategy. The update strategy
|
||||
is used to control things like rolling upgrades and canary deployments. If
|
||||
omitted, rolling updates and canaries are disabled.
|
||||
omitted, a default update strategy is applied.
|
||||
---
|
||||
|
||||
# `update` Stanza
|
||||
@@ -18,7 +18,7 @@ description: |-
|
||||
|
||||
The `update` stanza specifies the group's update strategy. The update strategy
|
||||
is used to control things like [rolling upgrades][rolling] and [canary
|
||||
deployments][canary]. If omitted, rolling updates and canaries are disabled. If
|
||||
deployments][canary]. If omitted, a default update strategy is applied. If
|
||||
specified at the job level, the configuration will apply to all groups within
|
||||
the job. If multiple `update` stanzas are specified, they are merged with the
|
||||
group stanza taking the highest precedence and then the job.
|
||||
|
||||
Reference in New Issue
Block a user