kubectl-sql
$ kubectl-sql Community Med Riskkubectl-sql (kubectl-sql) — Kubernetes kubectl plugin: Query Kubernetes resources using SQL-like syntax. Verified across Kubernetes Krew Index; included for structured shell automation under FCRS-1.0 baseline review.
kubectl krew install sql Calling kubectl-sql directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from kubectl-sql --help before write commands.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (kubectl-sql); inspect --help output before assuming structured JSON flags.
- Indexed in Kubernetes Krew Index
Classified as medium risk based on cloud-infra scope and upstream package metadata.
- Install channel verified via
kubectl krew install sql - Package checksum verified by upstream registry
Installable via kubectl krew install sql across macos, linux.
- Primary install:
kubectl krew install sql
Kubernetes kubectl plugin: Query Kubernetes resources using SQL-like syntax
- Official homepage/source: https://github.com/yaacov/kubectl-sql
community lineage tool maintained by yaacov.
- Upstream repository: yaacov/kubectl-sql
Upstream documentation linked at https://github.com/yaacov/kubectl-sql; baseline FCRS cap applies until local probe runs.
- https://github.com/yaacov/kubectl-sql
Security, Auth & Guardrails
Configured via service environment variables or local profile config file; verify provider docs before granting agent access.
Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.
When invoking `kubectl-sql`, verify flags with `kubectl-sql --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
kubectl-sql --help
Discover supported flags and subcommands for kubectl-sql before constructing automated calls.
kubectl-sql --version
Confirm kubectl-sql is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in Kubernetes Krew Index with reproducible install via
kubectl krew install sql - + Standalone CLI binary (
kubectl-sql) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
kubectl-sql --helpto verify flags before scripting