Popeye
$ popeye Community Low Riskpopeye scans live Kubernetes clusters for misconfigurations, unused resources, stale endpoints, and resource-limit lints. Passing -o json (--out json) suppresses terminal UI formatting and outputs structured lint scores and findings.
brew install derailed/popeye/popeye popeye -o json delivers a single cluster-wide lint report directly from kubeconfig, avoiding dozens of individual kubectl or MCP calls.
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
Supports -o json (--out json), -s section filtering, and --output-file, though standard mode expects 256-color terminal settings and lacks --no-color.
- Supports
-o json,-n <ns>, and-s <sections> - Standard output mode assumes 256-color
TERM
Strictly read-only cluster sanitizer that never mutates Kubernetes resources; optional local file write via --save.
- Read-only Kubernetes API inspection
Single static Go binary available via Homebrew tap and GitHub Releases for macOS, Linux, and Windows.
- Cross-platform binary via
brew install derailed/popeye/popeye
Quickly surfaces orphaned ConfigMaps/Secrets, missing probes, and stale endpoints in one pass.
- Single-pass cluster hygiene audit
Well-known community tool (derailed/popeye) under Apache-2.0, maintained independently rather than by CNCF.
- Community
derailed/popeyerepository
Concise GitHub README and --help, though detailed linter codes live mainly in source/README tables.
- README documentation on GitHub
Security, Auth & Guardrails
Reads cluster contexts from ~/.kube/config (KUBECONFIG); optional report uploads use AWS/S3 env vars when --s3-bucket is passed.
CLI is free (Apache-2.0) and read-only against the Kubernetes API.
# Popeye Agent Rules - Always pass `-o json` (or `--out json`) so ANSI/color terminal rendering is bypassed. - Pass `--context <ctx>` and `-n <namespace>` (or `-A`) explicitly to scope the audit. - Avoid `--s3-bucket` unless report export to an approved bucket is explicitly requested.
Agent-Ready Command Recipes
Safe Read-Only Queries
popeye -n production -o json
Audits pods, services, deployments, and secrets in production and prints a JSON report.
popeye -A -s pod,deploy,svc --out json --save --output-file popeye.json
Restricts sanitization to core workload linters and saves the JSON output to disk.
Strengths for Agents
- + Strictly read-only live cluster hygiene linter with clean
-o jsonoutput. - +
-ssection filters and-nnamespace scoping keep audits fast and focused. - + Catches cross-resource issues (unused ConfigMaps, orphaned Services) that single-YAML linters miss.
Caveats & Pitfalls
- ! Only audits live clusters (does not lint offline YAML files like
polarisorpluto). - ! Standard non-JSON mode can fail or emit ANSI noise if
TERMis unset in headless sandboxes.