k8s_events
Retrieve Kubernetes cluster events to monitor and troubleshoot resources, with options to list all events, filter by specific resources, or get recent activity sorted by timestamp.
Instructions
Get Kubernetes cluster events. Actions:
list: Get cluster events with optional filtering
get_resource: Get events for a specific resource
get_recent: Get recent events sorted by timestamp
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| namespace | No | Namespace (optional) | |
| kind | No | Resource kind (e.g., Pod, Deployment) - required for get_resource | |
| name | No | Resource name - required for get_resource | |
| fieldSelector | No | Field selector for filtering (optional) | |
| limit | No | Maximum number of events to return (default: 50) |