Capsule: Kubernetes tenants as inheriting groups of namespaces, from a v0.15 controller
Multi-tenancy and policy-based framework for Kubernetes.
At a glance
- What is it?
- Capsule groups namespaces into a Tenant and applies quotas, RBAC and network rules to the whole group. Releases are frequent and the version is still 0.x.
- Who is it for?
- Capsule suits platform teams that want many teams in one cluster with shared quotas and RBAC defined once per tenant, and who accept a 0.x controller with several releases a week. It does not suit teams that need hard isolation by separate clusters.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- projectcapsule/capsule2,226 ★ · +32
| Repository | 2026-10-08 | 2026-11-25 |
|---|---|---|
| projectcapsule/capsule | 2.2k | 2.2k |
32 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A Tenant is a named group of namespaces, and the namespaces keep their ordinary Kubernetes shape
Kubernetes namespaces are flat. Two namespaces owned by the same team have no shared parent, and a resource cannot be handed to both. Capsule's answer is an object called a Tenant, described in the README as a grouping of Kubernetes Namespaces. Inside a tenant, users create their own namespaces and share the resources assigned to the tenant.
The alternative the README argues against is one cluster per team or department. Its name for the result is clusters sprawl: as an organization grows, the number of clusters to manage and keep aligned becomes, in the README's words, an operational nightmare. Capsule keeps a single cluster and draws the boundary inside it.
The design claim is that nothing outside upstream Kubernetes is needed. The README calls Capsule a micro-services-based ecosystem with a minimalist approach, leveraging only upstream Kubernetes. go.mod backs that up in the sense that the core dependencies are k8s.io/api, k8s.io/apimachinery, k8s.io/client-go and sigs.k8s.io/controller-runtime v0.24.1, all at the 0.36.3 Kubernetes library line except controller-runtime itself.
Policies attach to the tenant and every namespace in it inherits them
The Capsule Policy Engine is the half that keeps tenants apart. Network and Security Policies, Resource Quota, Limit Ranges and RBAC defined at the tenant level are inherited by every namespace in that tenant, automatically. A developer who creates a new namespace gets the tenant's rules without asking the cluster administrator to copy them over.
That inheritance is the practical difference from hand-managed namespaces. With plain Kubernetes an administrator applies a ResourceQuota or a NetworkPolicy namespace by namespace, and a namespace created later starts without them. Capsule moves the definition up one level so the rule and the grouping are the same object.
The README's feature list adds a governance claim: Capsule leverages Kubernetes Admission Controllers to enforce security best practices and meet policy requirements. The repository layout agrees, since the README's repository table describes the main codebase as the controller, namespace profiling rules, admission webhooks and the Helm chart. What the README does not give is the list of rules a webhook enforces. That list is on projectcapsule.dev.
Capsule Proxy is a separate repository, so tenant users listing cluster-wide objects is not solved here
The README's table of project repositories has four rows. Capsule holds the controller, namespace profiling rules, admission webhooks and the Helm chart. Capsule Proxy is an optional Kubernetes API proxy for tenant users, developed and released separately. The website and community repositories hold documentation and meeting material.
The split has a consequence for anyone installing only this repository. The proxy ships on its own release schedule, so its version does not move in step with the controller's v0.15.x line. A cluster that needs the proxy has two things to install and two release notes to read.
The README text available does not say what a tenant user cannot do without the proxy. It only calls the proxy optional and says it is for tenant users. If listing or watching objects across tenant boundaries matters to your users, read the proxy's own repository before deciding, because nothing in this one describes the limits.
v0.15.0, v0.15.1 and v0.15.2 in six days, while the README calls the project stable
The three latest releases are v0.15.0 on 21 October 2026, v0.15.1 on 22 October and v0.15.2 on 26 October. The last push to main was on 25 October 2026, and the repository is not archived. Three tagged versions in under a week means a point release landed almost every day of that stretch, which is worth knowing before pinning a version in a production chart.
The README has a Project Status line that reads: this project is stable, following the Kubernetes definition of stable, with a link to the feature-gates page. The version number is still 0.x. Those two statements can both be true, since the definition used is the Kubernetes one and not semantic versioning, but a team that reads 0.15 as pre-release should read the CHANGELOG.md in the repository before assuming either way.
The README's own FAQ answers the production question with a hedge that is honest about it: although under frequent development and improvement, Capsule is ready to be used in production environments, because people are using it in public and private deployments. It points to the releases page for the list of versions and gives no support window for any of them.
Kubernetes v1.36.1 is the supported version in the Makefile, and the README only names 1.16 and later
Two different numbers describe compatibility. The README FAQ says Capsule was checked with vanilla Kubernetes 1.16+ on private environments and public clouds, and that the authors expect it to work on any other distribution and ask to be told when it does not. That is a floor from the earliest days of the project, written as a hope for everything else.
The Makefile is more current. It sets `KUBERNETES_SUPPORTED_VERSION ?= "v1.36.1"`, and go.mod pulls the Kubernetes client libraries at v0.36.3, so the build is aligned to the 1.36 line. For OpenShift-family clusters the Makefile defines `MICROSHIFT_VERSION ?= 4.22` and pins tags for MicroShift 4.21 and 4.22 taken from the microshift-io releases page.
The language requirement is high. go.mod declares `go 1.27.1`, so building from a clone needs a recent Go toolchain. The README has no installation section and no install command. It sends readers to projectcapsule.dev for the documentation, and the Helm chart sits in the charts/ directory of this repository.
Dependencies reach beyond core Kubernetes: CEL, Flux, Gateway API, Cluster API and OpenTelemetry
go.mod shows more than the README's minimalist description suggests. It lists github.com/google/cel-go v0.31.0, github.com/fluxcd/pkg/ssa v0.77.0 and fluxcd/pkg/apis/kustomize v1.15.0, sigs.k8s.io/gateway-api v1.6.1 and sigs.k8s.io/cluster-api v1.13.4. The README does not say what Capsule uses any of these for, so this article does not guess. The point for an operator is narrower: the controller is compiled against the Gateway API and Cluster API types, and a cluster should be checked for the CRDs those modules refer to before assuming they are unused.
Observability dependencies are explicit. go.mod includes github.com/prometheus/client_golang v1.25.0, go.opentelemetry.io/otel v1.45.0 and the otlptracegrpc exporter at the same version, plus google.golang.org/grpc v1.83.0. The repository also contains a Dockerfile.tracing next to the regular build files.
Supply-chain material is unusually visible. Every OCI release artifact includes a Software Bill of Materials in CycloneDX JSON format, and the top level has SECURITY.md, SELF_ASSESSMENT.md, security-insights.yml and a .fossa.yml. The Makefile defaults to ghcr.io for the registry and projectcapsule/capsule for the repository.
Adopters, Clastix and commercial support: who stands behind the controller
The README says Capsule is Open Source under the Apache 2 license, and the repository metadata lists Apache-2.0. ADOPTERS.md names the companies using it, and the README points there instead of printing a list. GOVERNANCE.md and MAINTAINERS.md sit at the top level, and the maintainers file is also referenced at .github/maintainers.yaml.
Commercial support exists. The README FAQ states that Clastix is the company behind Capsule, that it is available to help and provide commercial support, and that interested readers should contact it for a quote. Anyone whose procurement rules require a vendor for an infrastructure controller has a named company here. No price, tier or response-time commitment appears in the repository text available.
Community help runs through the #capsule channel in the Kubernetes Slack. The CLOMonitor badge section explains that the tool periodically checks open source project repositories against health best practices, which describes the tool, not a score.
Editorial conclusion
Capsule suits platform teams that want many teams in one cluster with shared quotas and RBAC defined once per tenant, and who accept a 0.x controller with several releases a week. It does not suit teams that need hard isolation by separate clusters. Before installing, read the Capsule Proxy repository and the CHANGELOG.md for the release you plan to pin.
Frequently asked questions
What does Capsule do in Kubernetes?
Capsule aggregates multiple namespaces into a Tenant inside one cluster. Network and Security Policies, Resource Quota, Limit Ranges and RBAC defined at the tenant level are inherited by all its namespaces.
Is Capsule production grade?
The README says that although it is under frequent development, Capsule is ready for production because people use it in public and private deployments. The latest release is v0.15.2.
Does Capsule work with my Kubernetes distribution?
The README says it was checked with vanilla Kubernetes 1.16+ on private environments and public clouds, and is expected to work on other distributions. The Makefile sets the supported version to v1.36.1.
Does Capsule offer commercial support?
Yes. The README names Clastix as the company behind Capsule and says to contact it for a quote.
Official sources
Was this useful?