get_cluster_events
Diagnose Kubernetes issues by retrieving cluster events, filtering by namespace and warnings to identify scheduling failures, node pressure, or evictions.
Instructions
Retrieve Kubernetes cluster events to diagnose scheduling failures, node pressure, or eviction warnings.
Usage Guidelines
Call this tool when pods remain stuck in 'Pending' or 'CrashLoopBackOff' states.
Use
warning_only=Trueto eliminate normal informational noise during triage.
Behavioral Transparency
Read-only query.
Returns up to the 50 most recent events formatted with event type, target resource, reason, and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Namespace to query for events. Pass a specific namespace or 'all' to inspect entire cluster. | default |
| warning_only | No | When true, filters only Warning events (e.g. BackOff, FailedScheduling, Unhealthy). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |