Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Fairwinds Polaris

$ polaris Official Low Risk
Fairwinds · Cloud & Infra · Apache-2.0 · macos / linux / windows

polaris (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.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install polaris
CLI vs MCP Decision CLI Preferred vs MCP

polaris audit outputs JSON natively and validates local YAML/Helm directories offline in milliseconds.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

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 json is the default on polaris audit
  • Supports --only-show-failed-tests and --set-exit-code-on-danger
Trust & Safety 23 / 25

Read-only auditor across local files, Helm charts, and live clusters; zero cluster mutations.

  • Purely read-only validation of manifests and clusters
Setup & Portability 15 / 15

Single static Go binary available via Homebrew and GitHub Releases for macOS, Linux, and Windows.

  • Cross-platform binary via brew install polaris
Utility & Efficiency 13 / 15

Checks probes, CPU/memory limits, securityContext, and image tags in one fast offline/online pass.

  • Built-in best-practice checks + custom JSON Schema checks
Maintenance & Lineage 8 / 10

Official Fairwinds (FairwindsOps/polaris) project licensed under Apache-2.0.

  • Official FairwindsOps/polaris repository
Docs & Verifiability 8 / 10

Dedicated documentation portal at polaris.docs.fairwinds.com with check catalog and CLI flags.

  • Official docs at polaris.docs.fairwinds.com

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Requires no credentials for --audit-path or --helm-chart scans; reads ~/.kube/config (KUBECONFIG) only for live cluster audits.

Side Effects
Read-Only Local Write
Cost & Quotas

CLI is free (Apache-2.0) and runs locally without external SaaS.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Audit local manifests and output only failed checks in JSON
polaris audit --audit-path ./deploy --format json --only-show-failed-tests

Scans local YAML manifests offline and returns compact JSON containing only failed checks.

Gate CI or agent edits on danger 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-tests to 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-tests includes every passing check.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI