Kubernetes Manifest Checker
Score Kubernetes YAML and Helm-rendered manifests for production readiness and security, with a fix snippet per finding.
Install
irm https://raw.githubusercontent.com/chayprabs/localtools/main/k8s-manifest-checker/install.ps1 | iexlocaltools-k8s-manifest-checker updatelocaltools-k8s-manifest-checker uninstall
curl -fsSL https://raw.githubusercontent.com/chayprabs/localtools/main/k8s-manifest-checker/install.sh | bashlocaltools-k8s-manifest-checker updatelocaltools-k8s-manifest-checker uninstall
brew install chayprabs/localtools/localtools-k8s-manifest-checkerbrew upgrade localtools-k8s-manifest-checkerbrew uninstall localtools-k8s-manifest-checker
scoop bucket add localtools https://github.com/chayprabs/homebrew-localtools; scoop install localtools-k8s-manifest-checkerscoop update localtools-k8s-manifest-checkerscoop uninstall localtools-k8s-manifest-checker
winget install localtools.K8sManifestCheckerwinget upgrade localtools.K8sManifestCheckerwinget uninstall localtools.K8sManifestChecker
Opens at http://127.0.0.1:47114 in your browser. Run localtools-k8s-manifest-checker --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.
Direct download
| Platform | File | Size |
|---|---|---|
| Windows x64 | k8s-manifest-checker-1.0.2-windows-x64.zip | 7.8 MB |
| macOS Apple Silicon | k8s-manifest-checker-1.0.2-macos-arm64.zip | 7.0 MB |
| macOS Intel | k8s-manifest-checker-1.0.2-macos-x64.zip | 7.7 MB |
| Linux x64 | k8s-manifest-checker-1.0.2-linux-x64.zip | 7.6 MB |
| Linux ARM64 | k8s-manifest-checker-1.0.2-linux-arm64.zip | 6.8 MB |
SHA-256 checksums are in the release notes; the install scripts verify them for you.
See it
How to use
- Open Kubernetes Manifest Checker (it starts at http://127.0.0.1:47114).
- Paste rendered multi-document YAML, or drop files/a zip. Limits: 8 MiB, 500 resources, 2,000 containers; expand YAML aliases and nested archives first.
- Pick the Kubernetes version you deploy to, so removed and deprecated apiVersions are flagged correctly.
- Press Check manifests: every object gets a score and grade, every finding a severity, file and line, explanation and YAML fix snippet.
- Ignore checks you accept with the field or the per-finding button, then download JSON, SARIF or Markdown.
- In CI: localtools-k8s-manifest-checker check ./manifests --k8s-version 1.31 --format sarif --fail-on error > report.sarif
FAQ
Does it need access to my cluster?
No. It checks manifest files offline and never contacts an API server, so it works on rendered charts before anything is deployed.
Which checks run?
kube-score 1.20.0 plus localtools checks for host namespaces/paths/ports, capabilities, privilege escalation, seccomp, sysctls, SELinux, procMount and AppArmor, plus target-version API removals and duplicates. These are a documented subset of Pod Security Standards, not full admission/schema validation. Inputs allow 8 MiB, 500 resources and 2,000 total containers; each report format is capped at 16 MiB.
Can I use it with Helm or Kustomize?
Yes. Render first and pipe the output: helm template my ./chart | localtools-k8s-manifest-checker check -. It does not run Helm or Kustomize itself.
How do I silence a check?
Use --ignore id1,id2 (or the Ignore field in the UI) for everything, or annotate one object with kube-score/ignore: id1,id2. Ignored checks do not count towards the score.
Can it fail a CI build or show results in GitHub?
Yes. --fail-on error (or warn/info) exits with code 2 when such findings exist, and --format sarif produces SARIF 2.1.0 for GitHub code scanning.