Manage admission policies in your Kubernetes cluster with ease
open sourceApache-2.0self-hostablefree
Kubewarden is a policy engine for Kubernetes whose policies are WebAssembly modules, so they can be written in any language that compiles to Wasm: its docs cover Rust, Go, Rego (reusing Open Policy Agent and Gatekeeper policies), CEL, C#, TypeScript and Swift. Its Admission Controller validates and mutates resources at admission, a policy server evaluates the policies, an audit scanner checks resources already in the cluster against them, and the kwctl CLI runs, tests and publishes policies, which are distributed as OCI artifacts in any container registry. In 2026 the project added a Runtime Enforcer, a Network Enforcer and an SBOM scanner in earlier stages. SUSE's Rancher team created it; it's a CNCF Sandbox project under Apache-2.0.
Ways to install
On Kubernetes
Package managers
Problems it solves
- write Kubernetes admission policies in Rust or Go instead of learning Rego
- reuse our existing Rego and Gatekeeper policies with a different policy engine
- block privileged pods and other unsafe workloads before they enter the cluster
- find resources already running in the cluster that break our policies
- distribute and version admission policies as OCI artifacts in our container registry
- mutate pods at admission, for example to add labels or security context defaults
- test admission policies locally before deploying them to a cluster
- run recommended security policies in monitor mode before enforcing them
Features
- validating and mutating admission policies compiled to WebAssembly
- policy SDKs and tutorials for Rust, Go, Rego, CEL, C#, TypeScript/JavaScript and Swift
- runs existing Open Policy Agent and Gatekeeper Rego policies
- policy server that evaluates the policies
- audit scanner that checks existing resources against registered policies
- context-aware policies that read other cluster resources
- policies distributed as OCI artifacts or from a web server
- kwctl CLI for testing and managing policies
- recommended policies deployable in monitor mode
- one admission-controller Helm chart, replacing the earlier three charts
View 1 more
- Runtime Enforcer (beta), Network Enforcer (experimental) and SBOM Scanner (beta)
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Kubewarden does.
- Gatekeeper Policy Controller for Kubernetes
- Kyverno Unified Policy as Code
- Open Policy Agent An open source, general-purpose policy engine that unifies policy enforcement across the stack