Skip to content

Commit

Permalink
docs: check_restart is broken for group networks
Browse files Browse the repository at this point in the history
Add a warning about check_restart being limited to task networks and
link to the relevant issue: #9176.
  • Loading branch information
schmichael committed Dec 1, 2020
1 parent 61ce743 commit 16aced1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/pages/docs/job-specification/check_restart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ description: |-
]}
/>

~> The `check_restart` stanza in Nomad is only supported for task networks,
*not* group networks. Please follow [#9176][gh-9176] to be notified when
this is fixed.

As of Nomad 0.7 the `check_restart` stanza instructs Nomad when to restart
tasks with unhealthy service checks. When a health check in Consul has been
unhealthy for the `limit` specified in a `check_restart` stanza, it is
Expand Down Expand Up @@ -137,5 +141,6 @@ and not be restarted again. See the [`restart` stanza][restart_stanza] for
details.

[check_stanza]: /docs/job-specification/service#check-parameters 'check stanza'
[gh-9176]: https://github.com/hashicorp/nomad/issues/9176
[restart_stanza]: /docs/job-specification/restart 'restart stanza'
[service_stanza]: /docs/job-specification/service 'service stanza'

0 comments on commit 16aced1

Please sign in to comment.