Commands icon
Docker icon
Script icon
SlackIncomingWebhook icon
Schedule icon

Clusterify

Get a weekly Slack digest of Kubernetes namespace health:pod restarts, per-namespace status, and top CPU/memory requesters:without setting up Prometheus.

Categories
InfrastructureSystem

Clusterify watches your Kubernetes namespaces and sends you a weekly health report card on Slack, every Monday morning. No Prometheus, no dashboards to check. Just one message with what you need to know.

How it works

  1. list_pods runs kubectl get pods -A -o json inside a container and saves the full pod list across every namespace. It uses the kubectl CLI directly because the kubectl.Get plugin task only reads a single namespace.
  2. build_digest reads that JSON in Python, counts restarts per pod, rolls up health per namespace, and ranks the top CPU and memory requesters.
  3. notify_slack posts the digest to the Slack channel. A Monday 09:00 UTC schedule triggers the whole flow weekly.

Who it's for

  • Learners running Minikube, kind, or k3s who want cluster visibility without operating Prometheus.
  • Small teams that want a simple Monday-morning pulse check on their namespaces.

Prerequisites

  • A Kubernetes cluster you can reach (tested on Minikube).
  • Docker, for the task containers.

Secrets

Configure these secrets in your Kestra instance (base64-encoded):

  • MASTERURL: the Kubernetes API server URL.
  • CLIENT_CRT: client certificate for API authentication.
  • CLIENT_KEY: client private key for API authentication.
  • SLACK_WEBHOOK: Slack incoming webhook URL for the digest.

Quick start

  1. Add the four secrets above to your Kestra instance.
  2. Import this flow and Execute it, pasting your Slack webhook URL when prompted.
  3. Check the Slack channel for the digest. The Monday 09:00 UTC schedule handles the rest.

Created by Faizan Parvez.

See How

New to Kestra?

Use blueprints to kickstart your first workflows.