local/tools
dev / Native app / v1.0.2

Kubernetes Manifest Checker

Score Kubernetes YAML and Helm-rendered manifests for production readiness and security, with a fix snippet per finding.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/k8s-manifest-checker/install.ps1 | iex
  • update
    localtools-k8s-manifest-checker update
  • remove
    localtools-k8s-manifest-checker uninstall

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

PlatformFileSize
Windows x64k8s-manifest-checker-1.0.2-windows-x64.zip7.8 MB
macOS Apple Siliconk8s-manifest-checker-1.0.2-macos-arm64.zip7.0 MB
macOS Intelk8s-manifest-checker-1.0.2-macos-x64.zip7.7 MB
Linux x64k8s-manifest-checker-1.0.2-linux-x64.zip7.6 MB
Linux ARM64k8s-manifest-checker-1.0.2-linux-arm64.zip6.8 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Open Kubernetes Manifest Checker (it starts at http://127.0.0.1:47114).
  2. 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.
  3. Pick the Kubernetes version you deploy to, so removed and deprecated apiVersions are flagged correctly.
  4. Press Check manifests: every object gets a score and grade, every finding a severity, file and line, explanation and YAML fix snippet.
  5. Ignore checks you accept with the field or the per-finding button, then download JSON, SARIF or Markdown.
  6. 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.