k8s_triage
Identify cluster health issues by scanning for problem pods, warning events, unhealthy nodes, and stale deployments. Use as starting point for Kubernetes diagnostics.
Instructions
⭐ Start here for cluster diagnostics. Single call returns: problem pods, recent warning events, unhealthy nodes, and stale deployments.
Read-only: fans out several kubectl get calls only — never mutates the
cluster, idempotent. Requires read access cluster-wide (or to the given
namespace); individual sub-queries that are Forbidden/absent are skipped
rather than aborting. Use this as the FIRST tool for broad questions like
"what's wrong with this cluster", "anything broken", or "give me a health
summary", then dig deeper with k8s_describe / k8s_logs / k8s_events.
Args: namespace: Limit scope to a single namespace; omit for cluster-wide. since: Event recency window (default "1h"). Format: "Ns", "Nm", "Nh", "Nd". context: kubeconfig context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Warning-event recency window, format ^\d+[smhd]$ (e.g. "1h", "30m", "1d"). Default "1h". | 1h |
| context | No | kubeconfig context name; omit to use the current context. | |
| namespace | No | Limit the scan to one namespace; omit for cluster-wide triage. |