Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Triage and remediate Kubernetes incidents using Claude and Slack

When an API call/webhook arrives, it runs an AI agent with Claude using Slack.

What it does

## AI Kubernetes Troubleshooting Agent ### How it works 1. A pod/node failure alert (or a manual test run) triggers the workflow. 2. It collects kubectl events, logs, resource usage, and deployment state for the affected resource. 3. Claude diagnoses the likely root cause and proposes one remediation action with a risk level. 4. Safe actions auto-execute; riskier ones wait for human approval in Slack. 5. After the fix, the workflow re-checks cluster health and closes the incident — or escalates to on-call if the symptoms persist. ### Setup - [ ] Add credentials for your cluster diagnostics/action API (never give this workflow raw kubeconfig/cluster-admin credentials directly) - [ ] Add Anthropic Claude, Slack, and incident/ticketing credentials - [ ] Edit Set - Config with your API URLs, auto-executable action list, Slack channels, and health-check thresholds - [ ] Point Wait - For Remediation Approval's resume webhook at your on-call tool's approve/reject action - [ ] Run once from Manual Trigger - Test Run against a known-bad namespace to confirm the full flow works

The steps

  1. Webhook - Alertmanager/K8s Event Received
  2. Manual Trigger - Test Run
  3. Set - Config
  4. HTTP - Collect Cluster Diagnostics
  5. AI Agent - Diagnose Root Cause & Propose Remediation
  6. Anthropic - Diagnostics Model
  7. JS - Parse Diagnosis Output
  8. IF - Remediation Is Safe To Auto-Execute?
  9. Slack - Request Remediation Approval
  10. Wait - For Remediation Approval
  11. IF - Approval Granted?
  12. Set - Case Status Rejected
  13. Slack - Notify Remediation Rejected
  14. HTTP - Execute Remediation Action

21 steps in total.

Similar automations