k8s_events
List recent Kubernetes events to surface scheduling failures, image pull errors, OOM kills, and network issues. Filter by namespace, kind, or name for targeted troubleshooting.
Instructions
List recent K8s events, most recent first.
Read-only: lists events only — never mutates the cluster, idempotent. Requires read access to events; raises on kubectl failure. Use this to surface scheduling failures, image pull problems, OOMKilled, network issues, etc. Filter by namespace and/or involved object.
Args:
namespace: Target namespace; omit for cluster-wide.
kind: Filter by involvedObject.kind (e.g. "Pod").
name: Filter by involvedObject.name (use with kind).
since: Look-back window (default "30m"). Format: "Ns", "Nm", "Nh", "Nd".
context: kubeconfig context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by involvedObject.kind, capitalized as K8s reports it (e.g. "Pod", "Node", "Deployment"). Omit for all kinds. | |
| name | No | Filter by involvedObject.name. Use together with `kind` to target one object's events. | |
| since | No | Recency window, format ^\d+[smhd]$ (e.g. "30m", "1h", "2d"). Default "30m". | 30m |
| context | No | kubeconfig context name; omit to use the current context. | |
| namespace | No | Target namespace. Omit for cluster-wide events. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |