Kubeconform
$ kubeconform Community Low RiskKubeconform (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.
brew install kubeconform kubeconform validates local YAML files or helm template stdin pipes in milliseconds with -output json—zero cluster access or MCP needed.
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 -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
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
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
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
Widely adopted community tool (yannh/kubeconform) licensed under Apache-2.0.
- Apache-2.0
yannh/kubeconformrepository
Clear README covering CRD -schema-location templates and -h flags.
- Repository README and
kubeconform -h
Security, Auth & Guardrails
No authentication required; validates manifests locally using embedded or cached JSON schemas.
Apache-2.0 open-source CLI; 100% free local validation.
# 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
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.
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 jsonand-strict. - + Streams
helm templateorkustomize buildoutput 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
-cacheor local schema bundles are pre-populated.