nomad icon indicating copy to clipboard operation
nomad copied to clipboard

Add ability to set initial health check status

Open rsyabuta opened this issue 10 years ago • 3 comments

New checks are initially set to "critical" when registered in consul. It would be nice to have the ability to initially set them to "passing" for certain job types as noted in the consul docs: https://www.consul.io/docs/agent/checks.html.

rsyabuta avatar Jun 07 '16 23:06 rsyabuta

We've also noticed this with the Nomad Client HTTP Check as clients come online. This ends up triggering alarms based on the failed consul status. Would it be possible to 1) have nomad wait to register itself once healthy or 2) initially set itself as passing (as described above)?

justinwalz avatar Mar 03 '17 23:03 justinwalz

This is available in newer releases: https://www.nomadproject.io/docs/job-specification/service.html#initial_status

dadgar avatar Sep 21 '17 19:09 dadgar

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Dec 07 '22 02:12 github-actions[bot]