New to Kestra?
Use blueprints to kickstart your first workflows.
Audits HashiCorp Consul Raft consensus cluster leadership and voter quorum to prevent service discovery outages.
This workflow connects to the HashiCorp Consul HTTP API (/v1/status/leader and /v1/operator/raft/configuration) to audit cluster Raft consensus health. In Consul, service discovery, health check registrations, and KV store operations rely entirely on a stable Raft leader and active voting quorum. When network partitions or unexpected node crashes reduce voter counts below majority threshold, leadership is lost, throwing the cluster into read-only or unreachable states. This sentinel verifies active leader presence, validates minimum voter counts, and dispatches incident alerts before service discovery collapses.
8500).SLACK_WEBHOOK secret.SLACK_WEBHOOK to your namespace secrets.consul_addr./v1/health/state/critical to identify specific failing service nodes.