get_recent_events
Retrieve recent Kubernetes events for a namespace or pod to identify failure causes like OOMKilled or FailedScheduling.
Instructions
Returns Kubernetes events (Warning and Normal) for a namespace or specific pod, sorted by most recent. Events often reveal the root cause of failures: OOMKilled, FailedScheduling, ImagePullBackOff, Liveness probe failures, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| podName | No | Optional: filter events to only those involving this pod. | |
| namespace | No | Namespace to fetch events from. Defaults to "default". |