kube-score
kube-score.com
What it is
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.
Spec sheet
- Purpose
- kube-score statically analyzes Kubernetes object definitions and recommends improvements to security and resilience.Read 8 Oct 2026 · github.com
- Platforms
- The maker lists prebuilt binaries for macOS, Linux, and Windows.Read 8 Oct 2026 · github.com
- Integrations
- The README demonstrates use with Helm, Kustomize, static YAML files, existing clusters, and Docker.Read 4 Oct 2026 · github.com
- License
- The project is open source under the MIT license.Read 8 Oct 2026 · github.com
- Analysis input
- The README says results are best when input includes all applications deployed to the same namespace.Read 4 Oct 2026 · github.com
- Browser demo
- The website offers a browser demo for testing kube-score.Read 8 Oct 2026 · kube-score.com
- Browser privacy
- The maker’s website says the browser tool runs entirely in the browser and sends no data to a server.Read 8 Oct 2026 · kube-score.com
- Build requirement
- Building from source requires Go 1.21 or later.Read 8 Oct 2026 · github.com
- Checks
- Default checks include container resource settings, network policies, disruption budgets, probes, security contexts, and stable APIs.Read 8 Oct 2026 · github.com
- CI use
- kube-score can run in CI/CD and can exit with code 1 when it finds a critical error, or on warnings when configured to do so.Read 8 Oct 2026 · github.com
- Configuration
- Users can ignore tests globally or per object and enable optional tests globally or per object.Read 4 Oct 2026 · github.com
- Distribution
- The maker lists Docker, Homebrew, and Kubernetes Krew as installation options.Read 8 Oct 2026 · github.com
- Install options
- The project provides prebuilt binaries for macOS, Linux, and Windows, plus Docker, Homebrew, and Krew installation options.Read 4 Oct 2026 · github.com
- Open source
- The project is available under the MIT license.Read 4 Oct 2026 · kube-score.com
- Optional checks
- Optional checks include matching resource requests and limits, container ports, and seccomp profile configuration.Read 8 Oct 2026 · github.com
- Output formats
- The CLI supports human, JSON, CI, and SARIF output formats.Read 8 Oct 2026 · github.com
- Scope limit
- The documentation recommends analyzing all applications deployed to the same namespace together for the best result.Read 8 Oct 2026 · github.com
- Supported platforms
- Prebuilt binaries are listed for macOS, Linux, and Windows.Read 4 Oct 2026 · github.com
- Workflow integrations
- The documentation shows use with Helm, Kustomize, static YAML files, Docker, and resources retrieved from a Kubernetes cluster.Read 8 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Checks security, resilience, and stable APIs
- Supports CI/CD with configurable exit threshold
- Offers human-readable, JSON, CI, and SARIF output
- Browser demo runs without sending data to a server
- Free and MIT-licensed
Limits
- Best results require all applications in a namespace
- Building from source requires Go 1.21 or later
Who it suits
kube-score suits teams reviewing Kubernetes definitions for security and resilience concerns, especially those using Helm, Kustomize, or CI/CD. The browser demo also suits someone who wants to check YAML or JSON without sending it to a server, according to the maker.
kube-score in depth
Read the full write-up
Overview
kube-score is a static analyzer for Kubernetes object definitions that recommends changes to improve security and resilience. It is best suited to teams reviewing deployment configuration in development or CI/CD; it is less useful when related applications in a namespace cannot be analyzed together.
Its appeal is a focused set of configurable checks, several output formats and a free MIT license. The central trade-off is scope: it assesses Kubernetes definitions, and its results are strongest when input includes all applications deployed to the same namespace.
Key features
Checks address concrete deployment concerns, including container limits, security context, probes, stable APIs, NetworkPolicy targeting, PodDisruptionBudget and Pod anti-affinity. Optional checks cover matching resource requests and limits, container ports and seccomp profile configuration. Teams can ignore tests or enable optional ones globally or per object, making it possible to tune the analysis to a project rather than accept every check as mandatory.
kube-score supports workflows built around Helm, Kustomize, static YAML files, Docker and resources retrieved from an existing Kubernetes cluster. In CI/CD, critical errors return exit code 1; teams can instead set warnings as the failure threshold. Human-readable, JSON, CI and SARIF formats suit different consumers, with SARIF intended to ease integration with CI platforms.
The online demo accepts Kubernetes YAML or JSON and, according to the maker, processes it entirely in the browser without sending data to a server. That makes it a convenient option for inspecting definitions without installing the command-line tool, while the privacy claim is specific to the browser demo.
Pricing
Free and open source: free. The MIT-licensed tool has no paid plans listed, so there is no upgrade tier to unlock additional checks or workflows. It suits individual users and teams comfortable adopting open-source software; organizations seeking a paid plan should look elsewhere.
There is no free trial because the tool is free. Building from source requires Go 1.21 or later, though prebuilt binaries and other installation options avoid that build requirement.
Platforms
Prebuilt binaries are available for Linux, macOS and Windows. Docker, Homebrew and Kubernetes Krew are also installation options. The browser demo runs in the browser and accepts YAML or JSON. For a source build, Go 1.21 or later is required.
Who it's for
kube-score fits Kubernetes teams that want repeatable configuration checks before deployment, especially those able to analyze a namespace's applications together and act on findings in CI/CD. Its selectable checks and output formats also suit teams that need to tailor results for different objects or pipeline consumers. It is a narrower fit for readers looking for a general-purpose infrastructure testing tool rather than analysis of Kubernetes object definitions.
Pros and cons
Pros: The MIT license and free price make it accessible without a paid-plan decision.
Pros: Checks span security and resilience concerns, with options to ignore or enable tests globally or per object.
Pros: CI/CD exit behavior and four output formats support both automated gates and different reporting workflows.
Pros: The browser demo provides a way to submit YAML or JSON while keeping processing in the browser, according to the maker.
Cons: Results are best when all applications deployed to the same namespace are included, which can complicate analysis when manifests are split across teams or workflows.
Cons: Building from source requires Go 1.21 or later; users who do not want that dependency need to use another installation option.
Alternatives
For broader infrastructure-testing options, see Infrastructure Testing Tools. For tools focused on securing infrastructure as code, browse Infrastructure as Code Security Software.
Chef InSpec is a freemium alternative with a free plan for unlimited-duration, non-production workloads and personal, non-commercial use, plus a 30-day trial. Choose it when those terms and its API, Linux, macOS, self-hosted or Windows platform support better fit your needs.
Conftest is a free, Apache-licensed option for Linux, macOS and Windows. Consider it when those platforms and its open-source terms suit your choice.
kubeconform is a free tool for Linux, macOS, self-hosted environments and Windows, with no paid plans or usage limits stated on its official site. Consider it if that platform range is a better fit.
Test Kitchen is a free, Apache-licensed option installable from RubyGems, system packages or Cinc/Chef Workstation. Pick it if those installation routes suit your environment.
AWS CloudFormation is free as a service, but underlying AWS resources are billed at their own rates. Consider it if that service model fits your needs.
Sonobuoy is a free, open-source alternative.
Terratest is an open-source project under the Apache 2.0 License, built by Gruntwork.
TFLint is a free, open-source command-line Terraform linter for Linux, macOS, self-hosted environments and Windows. Consider it when Terraform linting is the need rather than Kubernetes object analysis.
Verdict
Choose kube-score if you want free, configurable checks for Kubernetes definitions that can run in CI/CD, particularly when you can analyze namespace applications together. Its focused scope and useful pipeline outputs make it a practical fit for that job; look elsewhere if you need a broader infrastructure-testing tool or cannot provide the related namespace definitions for the strongest results.
Verdict
kube-score offers configurable checks, several output formats, and CI/CD use in a free, MIT-licensed tool. For its recommended results, provide definitions for all applications deployed to the same namespace.
Where Specifiction places it
- Infrastructure Testing Tools#5 of 288.2
- IaC Security Scanners#4 of 168.3
- Infrastructure as Code Security Software#11 of 228.1