kubectl-cleaner
$ kubectl-cleaner Community Med Riskkubectl-cleaner (kubectl-cleaner) — Kubernetes kubectl plugin: Safe, intelligent cleanup of unused Kubernetes resources.. Verified across Kubernetes Krew Index; included for structured shell automation under FCRS-1.0 baseline review.
kubectl krew install cleaner Calling kubectl-cleaner directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from kubectl-cleaner --help before write commands.
At a Glance
- Command
- $ kubectl-cleaner
- FCRS-1.0 Score
- 64/100 (Usable w/ Caveats)
- Evidence Tier
- Low Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
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-cleaner); 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 cleaner - Package checksum verified by upstream registry
Installable via kubectl krew install cleaner across macos, linux.
- Primary install:
kubectl krew install cleaner
Kubernetes kubectl plugin: Safe, intelligent cleanup of unused Kubernetes resources.
- Official homepage/source: https://github.com/ratulbasak/kubectl-cleaner
community lineage tool maintained by ratulbasak.
- Upstream repository: ratulbasak/kubectl-cleaner
Upstream documentation linked at https://github.com/ratulbasak/kubectl-cleaner; baseline FCRS cap applies until local probe runs.
- https://github.com/ratulbasak/kubectl-cleaner
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-cleaner`, verify flags with `kubectl-cleaner --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-cleaner --help
Discover supported flags and subcommands for kubectl-cleaner before constructing automated calls.
kubectl-cleaner --version
Confirm kubectl-cleaner 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 cleaner - + Standalone CLI binary (
kubectl-cleaner) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
kubectl-cleaner --helpto verify flags before scripting
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Kubernetes kubectl plugin: Diff cluster resources against manifests.
Kubernetes kubectl plugin: Explain why DRA can't allocate devices to a pod
Kubernetes kubectl plugin: Exec commands across a group of contexts.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.