Consul 1.7 provides support for configuring health checks to become passing/critical only if a specified number of consecutive checks return passing/critical. Nomad service health check config should also allow this configuration.
What ... postponed again! 馃槶
Sorry about the postponement @shantanugadgil , this is blocked by
https://github.com/hashicorp/consul/issues/7764
(Consul does not currently accept configuration of these fields via HTTP API)
Looks like https://github.com/hashicorp/consul/pull/7949 got merged for Consul v1.8.1, however we still need an updated api/ version to import from Nomad.
馃帀
Most helpful comment
Looks like https://github.com/hashicorp/consul/pull/7949 got merged for Consul v1.8.1, however we still need an updated
api/version to import from Nomad.