New to Kestra?
Use blueprints to kickstart your first workflows.
Audits Kubernetes StatefulSets across all namespaces to detect replica count deficits and impending database quorum loss.
This workflow audits all StatefulSet resources across all Kubernetes namespaces using kubectl. It compares the declared .spec.replicas against the observed .status.readyReplicas. When any StatefulSet experiences unready or crashing pods, the difference indicates replica deficit and risk of quorum degradation. When the count of degraded StatefulSets exceeds the configured tolerance, an automated Slack alert is sent.
get and list permissions for statefulsets.apps.SLACK_WEBHOOK configured in Kestra.SLACK_WEBHOOK secret.