kube-score

Open source

kube-score runs static analysis on Kubernetes object definitions and lists recommendations to make applications more secure and resilient.

kube-score.com
kube-score homepage screenshot
GitHub stars
3.1k
Last 30 days
+3(+0%)
Last commit
5 mo ago
Repository age
8 years
Version
v1.20.0
Licence
MIT
Self-hosted
Yes

About kube-score

kube-score is a command-line tool that performs static code analysis of Kubernetes object definitions. Its output is a list of recommendations for making an application more secure and resilient, covering both plain manifests and Helm charts. It is written in Go and released under the MIT licence.

The checks include container limits, NetworkPolicy coverage for both egress and ingress, PodDisruptionBudgets and host PodAntiAffinity for Deployments and StatefulSets, readiness and liveness probes that are not identical, securityContext settings such as not running as root, and use of stable APIs. A full list is kept in the repository.

It is distributed as pre-built binaries for macOS, Linux and Windows, as a Docker image, through Homebrew, and as a Krew plugin for kubectl. The website also has a demo where you paste YAML or JSON and get results in the browser, with output formats including CLI, CI, JSON, SARIF and JUnit; the page says nothing is sent to a server.

Key features

  • Static analysis of Kubernetes object definitions
  • Checks for container resource limits
  • Probe checks for readiness and liveness
  • Security context checks such as non-root users
  • Install via Homebrew, Docker, Krew or binaries
  • Output in CLI, CI, JSON, SARIF and JUnit formats
  • Browser demo that runs locally

Good fit for

  • Linting manifests in a CI pipeline
  • Reviewing Helm chart output
  • Checking reliability and security settings before deploy
Tags
kubernetes
static-analysis
linter
helm
security
ci
go

kube-score: questions and answers

What is kube-score used for?
kube-score runs static analysis on Kubernetes object definitions and lists recommendations to make applications more secure and resilient. It is a good fit for linting manifests in a CI pipeline, reviewing Helm chart output, and checking reliability and security settings before deploy.
Is kube-score open source?
Yes. kube-score is open source under the MIT licence. Its source code is on GitHub at zegl/kube-score and is written mainly in Go.
Is kube-score free?
Yes. kube-score is open source, so the software itself is free to use.
What are some alternatives to kube-score?
Similar open-source tools in the CI/CD & DevOps category include actionlint, Dockerfile Roast and Harbor. SaaS products in the same category include Kubernetic, CAST AI and CloudZero.
Is kube-score actively maintained?
The most recent commit to kube-score was on 20 May 2026, and the latest release is v1.20.0, published on 28 April 2025. The project has 3.1k stars on GitHub, with 3 added in the last 30 days.

Open-source alternatives to kube-score

See all

SaaS alternatives to kube-score

See all