conservative_namespace_overview
Analyzes Kubernetes namespaces with smart sampling to detect critical pod issues like failures and high restarts, providing health assessments and recommendations for troubleshooting.
Instructions
Conservative namespace analysis optimized for large namespaces with strict token limits.
Smart-samples critical pods (failed, high-restart, error states) for rapid issue detection.
Args:
namespace: Kubernetes namespace to analyze.
max_pods: Maximum pods to analyze (default: 10).
focus_areas: Areas to focus on (default: ["errors", "warnings"]).
sample_strategy: "smart" for intelligent sampling, "recent" for newest pods.
Returns:
Dict: Analysis results with pod health, issues detected, and recommendations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>"
},
"name": "conservative_namespace_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| max_pods | No | ||
| focus_areas | No | ||
| sample_strategy | No | smart |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |