Kubectl Debug Queries for
<h2>Kubectl Debug Queries: SQL-style troubleshooting for Kubernetes</h2>
- Free
- 4.7
- V v0.1.5
<h2>Kubectl Debug Queries: SQL-style troubleshooting for Kubernetes</h2>
Kubectl Debug Queries, created by Yaacov Akiba Slama, simplifies Kubernetes troubleshooting for SREs and DevOps teams by replacing chained kubectl calls with SQL-style SELECT queries. The tool converts cluster logs, events, and resource listings into queryable tables, offering time-range and label filters and a server mode for automation. It targets operators and AIOps builders who need faster, more readable inspection during incident response and diagnostic workflows.
What tasks can you actually use it for?
The tool addresses fast inspection and incident triage by letting operators extract focused slices of cluster state, particularly logs and events, without composing multiple kubectl commands. It returns structured rows suitable for quick filtering and for feeding into downstream tools. Typical uses include isolating pod-level error streams, scanning event timelines, and producing queryable snapshots of resource status for post-incident analysis.
How reliable are the query results compared to manual methods?
Queries are read-only and query the standard Kubernetes API, so results reflect the same source of truth as native kubectl commands. Reliability therefore depends on cluster API responsiveness and the selected query filters. Time-range and label filtering narrow results precisely, though correctness is bounded by the cluster’s logging retention and the API server’s current view of objects.
What inputs, platforms, and limitations should you expect?
The plugin runs where kubectl is available on Linux, macOS, and Windows and uses the existing kubeconfig for authentication, so it operates under the same RBAC constraints as kubectl. It focuses on core resources and may offer limited coverage for specialized Custom Resource Definitions, and OpenShift compatibility is explicitly supported for standard clusters.
Is it practical to add to existing workflows and automation?
Installation via the Krew plugin manager and zero-configuration alignment with kubeconfig make the tool simple to add to operator toolchains. It also exposes a Model Context Protocol server mode, enabling programmatic access by AI assistants and automation pipelines, but that server endpoint should be placed behind appropriate network controls because it accepts remote query requests.
Best suited for operators who want readable, scriptable cluster inspection
Kubectl Debug Queries is a focused option for SREs and DevOps who need a queryable layer over cluster state; its read-only design preserves API safety while enabling automated workflows. Limited coverage of niche custom resources and the operational surface of the server endpoint are practical constraints, so use it where standard pods, services, logs, and events are the primary troubleshooting targets.
Pros
- Structured SQL-style queries reduce multi-command inspection steps
- Uses existing kubeconfig, enforcing current RBAC and permissions
- Krew installation integrates with kubectl plugin workflows
- MCP server mode enables programmatic AI and automation integration
Cons
- Limited support for specialized Custom Resource Definitions
- Server endpoint requires network controls to protect cluster exposure
- Output depends on API server state and log retention windows
Kubectl Debug Queries for
- Free
- 4.7
- V v0.1.5
Top downloads
VeoMCP
VeoMCP: Veo text-to-video integration for MCP-compatible AI clients
AgentClaw
Comprehensive AI Agent Management Platform
codeweaver
Context-aware localization server for MCP-enabled developer workflows
Autono
Autono: Advanced AI Agent Framework
dhlottery-mcp
Efficient Lottery Management with dhlottery-mcp
Discover more programs
mcp_server_exe
- 4.9
- Free
lynxprompt-mcp
- 4.8
- Free
Bridge that lets MCP hosts manage LynxPrompt configurations
smart-tree
- 4.5
- Free
ai4j
- 4.7
- Free
ai4j: MCP server for context-aware text localization and translation
claude-view
- 4.9
- Free
codexia
- 4.9
- Free
Comprehensive AI Agent Platform: Codexia
pgedge-postgres-mcp
- 4.2
- Free
Forge Orchestrator
- 4.2
- Free
Forge Orchestrator coordinates CLI AI agents for safer code edits
bernstein
- 4.8
- Free
Bernstein: Auditable orchestration framework for scalable CLI coding agents