Open robn opened 5 years ago
Tried, actually really awkward. Easiest workaround is just to list another service that exists on every node, or configure one (it can be a dummy).
I'll leave this here in case I get a great idea about how to do it in a non-insane way.
Proxy service no good because it becomes unavailable when the node does. Either a real per-node check, or a specific tester against consul for failed nodes? More thought.
All nodes, regardless of services. Good for running node-based probes, like simple host pings.
Appears that looking for
consul
in the service catalog isn't enough, as only server nodes are listed there.Bit finicky, because service-level config in the KV, but we can probably just not bother for that (or have node-based config).