get_k8s_events
Retrieve Kubernetes events to diagnose why pods are pending, OOMKilled, or CrashLoopBackOff. Filter by namespace, pod, event type, and recent timeframe.
Instructions
Get Kubernetes events for a namespace or pod. Answers 'why is my pod pending/OOMKilled/CrashLoopBackOff?' Requires rbac.enabled=true in Helm values.
Args: namespace: Kubernetes namespace pod_name: Filter events for a specific pod (optional) event_type: Filter by 'Warning' or 'Normal' (optional) timeframe_minutes: How far back to look (1-1440) limit: Maximum events to return (1-500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| pod_name | No | ||
| namespace | No | default | |
| event_type | No | ||
| timeframe_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |