kube-score vs kubeconform
kube-score
kube-score.comkubeconform
kubeconform.mandragor.orgSide by side
| Figure | kube-score | kubeconform |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Infrastructure Testing Tools | 8.2 (#5) | 7.7 (#14) |
| License | The project is open source under the MIT license. | The GitHub repository identifies the project license as Apache-2.0. |
| Output formats | The CLI supports human, JSON, CI, and SARIF output formats. | The command line supports JSON, JUnit, TAP, and text output formats. |
| Purpose | kube-score statically analyzes Kubernetes object definitions and recommends improvements to security and resilience. | Kubeconform validates Kubernetes manifests so users can catch broken configuration before deploying. |
Plans
In their own words
kube-score
kube-score statically analyzes Kubernetes object definitions and recommends changes intended to improve application security and resilience. Its checks cover container limits, NetworkPolicy targeting, PodDisruptionBudget, Pod anti-affinity, container probes, security context, and stable APIs. Optional checks include matching resource requests and limits, container ports, and seccomp profile configuration. You can configure tests to be ignored or enabled globally or for individual objects. kube-score works with Helm, Kustomize, static YAML files, Docker, and resources retrieved from a Kubernetes cluster. Its browser demo accepts Kubernetes YAML or JSON and, according to the maker, processes it in the browser without sending data to a server. Local options include prebuilt binaries for Linux, macOS, and Windows, along with Docker, Homebrew, and Kubernetes Krew. Output formats include human-readable, JSON, CI, and SARIF. In CI/CD, critical errors return exit code 1; warnings can also be set as the exit threshold. The free, MIT-licensed project recommends analyzing all applications deployed to the same namespace together. Building from source requires Go 1.21 or later.
kubeconform
Kubeconform is a command-line tool for validating Kubernetes manifests before deployment. It checks files against Kubernetes OpenAPI specifications, helping catch configuration problems before they reach a cluster. Validation and schema downloads run concurrently, and downloaded files are cached in memory. By default, it uses a self-updating fork of the Kubernetes JSON schema registry to supply schemas for recent Kubernetes versions. For custom resources, users can point it to local or remote schemas; local schemas also make offline validation possible. Results can be produced as JSON, JUnit, TAP, or plain text. Documentation describes using its Docker images in GitHub Actions and GitLab CI, and the images are published to GitHub Container Registry. It is free, with a listed plan of free. Installation instructions cover Linux, macOS through Homebrew, and Windows. Its checks do not cover additional server-side validation, and its Go module interface is still work in progress and unstable.