Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

kube-medic

bởi tkuehnl

Coding Agents & IDEs
683Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Kubernetes Cluster Triage & Diagnostics — instant AI-powered incident triage via kubectl.

Mô tả

Kỹ năng này làm gì

kube-medic runs Kubernetes diagnostics through kubectl. It covers cluster health sweeps, pod autopsies, deployment analysis, resource pressure detection, and event monitoring. Data across logs, events, and resource metrics is correlated to surface root causes, and write operations require explicit user confirmation before execution.

Instead of running separate kubectl commands for logs, events, and resource metrics, it correlates all three in a single triage workflow to produce actionable diagnoses rather than a list of symptoms.

Khi nào nên dùng

  • Diagnosing a CrashLoopBackOff pod during an on-call incident
  • Checking cluster health before a production deployment
  • Finding which pods are consuming the most memory on overloaded nodes
  • Tracing recent warning events after an unexpected outage
  • Rolling back a broken deployment after identifying a bad image

Quy trình ví dụ

ĐẦU VÀO

User asks: Something is wrong with my cluster, can you check?

AGENT
  1. 1

    Runs sweep subcommand to get a cluster-wide health overview

  2. 2

    Identifies CrashLoopBackOff pods and NotReady nodes from sweep output

  3. 3

    Runs pod autopsy on the most suspicious pod to retrieve logs, events, and container status

  4. 4

    Runs resources subcommand to check for memory or CPU pressure contributing to the issue

  5. 5

    Correlates findings and presents a diagnosis with specific kubectl commands awaiting user approval

ĐẦU RA

Triage report showing root cause (e.g., OOMKilled due to low memory limit), a timeline of related events, and a rollback or scaling command the user can confirm to execute

Cài đặt

clawhub install tkuehnl/kube-medic

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết