Commands icon
If icon
SlackIncomingWebhook icon
Schedule icon

YugabyteDB Distributed Tablet Server Node Availability Sentinel

Audits YugabyteDB cluster tablet servers to detect unreachable nodes and tablet rebalancing failures.

Categories
DataInfrastructure

How it works

This workflow connects to the YugabyteDB YB-Master administrative API (/api/v1/tablet-servers) to audit the live state of all tablet server (YB-TServer) nodes. In YugabyteDB's distributed architecture, data is split into tablets that use Raft consensus across tablet servers. When a node experiences hardware failure, OOM kills, or network partition, YB-Master must detect the heartbeat loss and coordinate automatic tablet leader failover. If multiple nodes drop or total alive nodes fall below quorum, transaction read-write paths freeze. This sentinel audits node health and dispatches alerts before cluster quorum degrades.

What you get

  • Real-time tracking of YugabyteDB tablet server availability and cluster quorum.
  • Early warning before distributed transactions and Raft consensus fail.
  • Automated Slack incident notifications with live and dead node counts.

Who it's for

  • Database Administrators operating distributed PostgreSQL-compatible YugabyteDB clusters.
  • SREs safeguarding high-availability distributed transactional backends.
  • Platform Engineers managing multi-zone cloud database topologies.

Why orchestrate this with Kestra

  • Automated Cluster Surveillance: Periodically inspects master cluster topology without deploying external monitoring agents.
  • Native API Capabilities: Interacts directly with YB-Master REST endpoints from ephemeral runners.
  • Incident Orchestration: Notifies platform engineers directly in team collaboration channels.

Prerequisites

  • YugabyteDB cluster with accessible YB-Master HTTP port (7000).
  • Slack incoming webhook URL configured in SLACK_WEBHOOK secret.

Quick start

  1. Import this blueprint into your Kestra workspace.
  2. Add SLACK_WEBHOOK secret to your namespace.
  3. Specify yb_master_url.
  4. Enable the schedule trigger for continuous node availability surveillance.

How to extend

  • Query tablet leader distributions to detect hotspot tablet skew.
  • Trigger automated cloud node provisioning via Terraform or Kubernetes operator.
  • Route critical alerts to PagerDuty or Opsgenie.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.