adaptive_namespace_investigation
Analyzes Kubernetes namespace issues by examining pod logs and events, prioritizing failed pods and correlating data within token budget constraints.
Instructions
Adaptive namespace investigation with progressive analysis and token budget management.
Best for medium namespaces (5-30 pods). Prioritizes failed/error pods, correlates events.
Args:
namespace: Kubernetes namespace to investigate.
investigation_query: What to investigate (default: "investigate all logs and events for potential issues").
max_pods: Maximum pods to analyze (default: 20).
focus_areas: Areas to focus on (default: ["errors", "warnings", "performance"]).
token_budget: Max tokens for investigation (default: 200000).
Returns:
Dict: Pod analysis, event correlation, findings, and recommendations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| investigation_query | No | investigate all logs and events for potential issues | |
| max_pods | No | ||
| focus_areas | No | ||
| token_budget | No |