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

Kubeconform

$ kubeconform Community Low Risk
Yann Hamon · Cloud & Infra · Apache-2.0 · macos / linux / windows

Kubeconform (kubeconform) validates Kubernetes YAML/JSON manifests against official OpenAPI schemas and custom CRD schemas at high speed. Ideal for CI and agent guardrails, it runs read-only locally with -strict, -kubernetes-version, -output json, and deterministic non-zero exit codes.

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

kubeconform validates local YAML files or helm template stdin pipes in milliseconds with -output json—zero cluster access or MCP needed.

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

Supports -output json, stdin streaming, -strict mode, zero prompts, and clean exit codes on invalid manifests.

  • Supports -output json, -strict, and -summary
  • Reads files, directories, or stdin pipes deterministically
Trust & Safety 25 / 25

Strictly read-only local validator with no cluster credentials, no file writes, and zero remote side effects.

  • Zero auth required; pure read-only schema check
Setup & Portability 15 / 15

Single static Go binary available via Homebrew, go install, and GitHub releases across macOS, Linux, and Windows.

  • Zero-dependency Go binary via brew install kubeconform
Utility & Efficiency 13 / 15

Catches Kubernetes API schema errors before kubectl apply or GitOps commits in a fraction of a second.

  • Fast parallel manifest validation with CRD schema catalog support
Maintenance & Lineage 8 / 10

Widely adopted community tool (yannh/kubeconform) licensed under Apache-2.0.

  • Apache-2.0 yannh/kubeconform repository
Docs & Verifiability 8 / 10

Clear README covering CRD -schema-location templates and -h flags.

  • Repository README and kubeconform -h

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No authentication required; validates manifests locally using embedded or cached JSON schemas.

Side Effects
Read-Only
Cost & Quotas

Apache-2.0 open-source CLI; 100% free local validation.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Kubeconform Agent Rules
- Run `kubeconform -strict -output json <path>` after editing any Kubernetes YAML or Helm chart.
- Pass `-schema-location default` plus custom CRD schema locations or `-ignore-missing-schemas` when validating CRDs offline.

Agent-Ready Command Recipes

Safe Read-Only Queries

Validate manifests strictly with JSON output
kubeconform -strict -kubernetes-version 1.31.0 -output json ./k8s/

Validates all manifests under ./k8s/ against Kubernetes 1.31.0 schemas and outputs structured JSON diagnostics.

Validate rendered Helm output via stdin
helm template my-app ./chart | kubeconform -strict -ignore-missing-schemas -summary

Pipes Helm template YAML straight into kubeconform and prints a concise validation summary.

Strengths for Agents

  • + 100% read-only local verification loop with -output json and -strict.
  • + Streams helm template or kustomize build output cleanly over stdin.
  • + Fast single static Go binary requiring zero cluster access.

Caveats & Pitfalls

  • ! Uses single-dash Go flag style (-output json, -strict) rather than GNU double-dash (--output).
  • ! First run for uncached schemas fetches JSON schemas over HTTPS unless -cache or local schema bundles are pre-populated.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI