Install
openclaw skills install @kingaiwork/kubectl-triage-automationAutomated Kubernetes cluster issue detection, log aggregation, and root cause analysis. / 自动检测 Kubernetes 集群问题、聚合日志并进行根因分析。
openclaw skills install @kingaiwork/kubectl-triage-automationAutomated Kubernetes cluster issue detection, log aggregation, and root cause analysis. / 自动检测 Kubernetes 集群问题、聚合日志并进行根因分析。
🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work
• Instantly detect pod crashes, node pressure, and misconfigurations with a single command / 一键即时检测 Pod 崩溃、节点压力与配置错误,让集群健康一目了然 • Aggregate logs from all failing pods and correlate them with events / 自动聚合所有故障 Pod 的日志并与事件关联,问题根源无处遁形 • Generate structured root-cause reports with severity levels and timeline / 生成结构化的根因报告,包含严重级别和时间线,省去人工排查 • Apply intelligent health check rules that adapt to your cluster’s patterns / 应用自适应的智能健康检查规则,精准匹配集群动态(Pro 专属高级分析) • Perform deep dependency graph analysis for cross-service failure propagation / 执行跨服务依赖图深度分析,快速定位连锁故障根源(Pro 增强版) • Export triage results to Jira, Slack, or PagerDuty for team collaboration / 将诊断结果一键导出至 Jira、Slack 或 PagerDuty,推动团队高效协作
# Step 1 — check environment
which bash curl && echo "Ready"
# Step 2 — run the tool
kubectl triage --namespace production --severity critical This command inspects all critical issues in the production namespace, aggregating logs and events for root cause report. / 此命令检查生产命名空间中的所有严重问题,聚合日志与事件并生成根因报告。
# Step 3 — review output
echo "Done — check the generated output"
• A DevOps engineer receives a PagerDuty alert about Pod crashes. Run the triage command to get a root-cause summary within seconds, instead of manually checking logs and events across 10 nodes. / 运维工程师收到 Pod 崩溃的 PagerDuty 告警,直接运行诊断命令,几秒内获根因总结,无需手动翻阅10个节点的日志。 • During a deployment rollback, the team suspects a misconfigured ConfigMap. The tool correlates the change timeline with pod errors, pinpointing the exact ConfigMap key that caused the outage. / 回滚部署时,团队怀疑 ConfigMap 配置有误,工具将变更时间线与 Pod 错误关联,精准定位导致宕机的配置键。 • A platform team wants to proactively monitor cluster health. Schedule the tool to run hourly, generating a report that highlights hidden node pressure before it triggers real incidents. / 平台团队希望主动监控集群健康,设置每小时自动运行,生成报告提前暴露节点压力隐患,防患于未然。
| Capability | Free | Pro |
|---|---|---|
| Basics / 基础 | ✅ | ✅ |
| Automation / 自动化 | — | ✅ |
| AI / AI 功能 | — | ✅ |
| Support | Community | Priority |
• Unlock advanced multi-cluster triage across all your K8s environments in one dashboard • 解锁高级多集群诊断,一个仪表盘统一管理所有 K8s 环境 • Get machine learning-powered anomaly detection that identifies subtle patterns human eyes miss • 获得机器学习驱动的异常检测,精准识别肉眼难以察觉的细微模式 • Receive prioritized incident response with automated Slack/DingTalk notifications and escalation paths • 获取优先级排序的应急响应,自动推送 Slack/钉钉通知与升级路径\n\n
📦 Published by King AI — kingai.work