Fairwinds Polaris
$ polaris Official Low Riskpolaris (FairwindsOps/polaris) audits Kubernetes manifests, Helm charts, and live clusters for security, health probe, and resource-limit best practices. polaris audit outputs JSON by default (--format json), supports --audit-path, and offers threshold exit codes.
brew install polaris polaris audit outputs JSON natively and validates local YAML/Helm directories offline in milliseconds.
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
Outputs JSON by default on polaris audit, supports --only-show-failed-tests, --color=false, and deterministic --set-exit-code-on-danger / --set-exit-code-below-score gates.
--format jsonis the default onpolaris audit- Supports
--only-show-failed-testsand--set-exit-code-on-danger
Read-only auditor across local files, Helm charts, and live clusters; zero cluster mutations.
- Purely read-only validation of manifests and clusters
Single static Go binary available via Homebrew and GitHub Releases for macOS, Linux, and Windows.
- Cross-platform binary via
brew install polaris
Checks probes, CPU/memory limits, securityContext, and image tags in one fast offline/online pass.
- Built-in best-practice checks + custom JSON Schema checks
Official Fairwinds (FairwindsOps/polaris) project licensed under Apache-2.0.
- Official
FairwindsOps/polarisrepository
Dedicated documentation portal at polaris.docs.fairwinds.com with check catalog and CLI flags.
- Official docs at polaris.docs.fairwinds.com
Security, Auth & Guardrails
Requires no credentials for --audit-path or --helm-chart scans; reads ~/.kube/config (KUBECONFIG) only for live cluster audits.
CLI is free (Apache-2.0) and runs locally without external SaaS.
# Polaris Agent Rules - Prefer `--audit-path <dir>` or `--helm-chart <dir>` for offline manifest checks before applying to clusters. - Pass `--format json --only-show-failed-tests` to keep audit payloads concise. - Use `--set-exit-code-on-danger` in verification loops.
Agent-Ready Command Recipes
Safe Read-Only Queries
polaris audit --audit-path ./deploy --format json --only-show-failed-tests
Scans local YAML manifests offline and returns compact JSON containing only failed checks.
polaris audit --audit-path ./deploy --set-exit-code-on-danger --format json
Returns a non-zero exit code if any high-severity (danger) best-practice issue is detected.
Strengths for Agents
- + JSON is the default output format on
polaris audit, paired with--only-show-failed-teststo save tokens. - + Audits local YAML directories, Helm charts, and live clusters with zero mutations.
- + Built-in CI gate flags (
--set-exit-code-on-danger,--set-exit-code-below-score).
Caveats & Pitfalls
- ! Default checks can flag opinionated warnings (e.g., missing CPU limits) unless tuned via
-c config.yaml. - ! Full JSON output without
--only-show-failed-testsincludes every passing check.