Nomad Service Catalog should have a filter or metadata for health status #15603
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/service-discovery/nomad
theme/service-discovery
type/enhancement
Proposal
Currently, I am querying the list of Nomad Services using consul-template Nomad functions. I couldn't find a way to filter only the list of healthy services.
However, when I query the list of nomad services for this namespace, I can find these services here and it doesn't have any metadata whether the healthcheck failed or not:
Use-cases
When using NGINX or similar proxy, it's useful to only filter the upstream servers which are healthy. This will help these proxies to not send the request to the upstream servers where health checks are failing.
Attempted Solutions
Couldn't find a workaround
The text was updated successfully, but these errors were encountered: