Job update documentations

In the update stanza of documentations there is a health_check parameter that specifies the mechanism in which allocations health is determined.
The default value is “checks” which means that health of the deployment is determined using Consul checks.
The interesting thing is that documentation mentions that check_restart is disabled by default.

My question is how does health check work while it is disabled by default?

Additional question: How does nomad determine job health after first deployment? It looks like update stanza is not functioning at that point. I haven’t been able to understand this by reading documentation.

Hi @vladimir-incountry there’s some related questions to this in GitHub #6407; if you pick up starting at https://github.com/hashicorp/nomad/issues/6407#issuecomment-554538572 you’ll see I’ve noted some of the behavior isn’t well-documented and we’ll need to fix that. See also https://github.com/hashicorp/nomad/issues/6723

Thank you for pointing me in the right direction! @tgross