feature: support for specifying checks in native nomad services #13717
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/service-discovery/nomad
type/enhancement
Milestone
In v1.3 Nomad added built-in support for native service discovery. One of the requested features to be built on top of that is support for service checks on services registered with Nomad's service provider.
#12589
Add support for specifying
service.checks
for Nomad services. The initial implementation will support a subset of the check stanza. We can expand feature support going forward - just getting checks working is a lot of plumbing!Nomad Clients (not Servers yet) will expose an API endpoint for getting the latest check result information related to a specific allocation, e.g.
The primary use case for
check
's in Nomad services is for controlling the rollout of deployemnts. Like with Consul services, Nomad will respecton_update
to decide whether to treat checks like health checks or readiness checks. If a check is a health check and is failing during a deployment, the deployment does not progress, just as in the case of an analogous Consul check.The text was updated successfully, but these errors were encountered: