Show HN: Tenant Operator – Provision Kubernetes Tenants Directly from Your DB

Share This Post

Hi HN,
I built Tenant Operator – a minimal Kubernetes Operator for native, declarative multi-tenancy.

It lets you define tenants as CRDs and automatically provisions:

* Namespaces with isolated RBAC and network policies
* ResourceQuota and LimitRange
* Full tenant lifecycle (create/update/delete)

One unique part: it can provision tenants directly from your database — a new DB row instantly becomes a `Tenant` CR and triggers namespace/RBAC setup.
This makes it easy to build SaaS-style onboarding like Atlassian Cloud or Slack, where a tenant is created immediately after signup (or by a customer manager in real time).

I first built an early version ~2 years ago, running over 150 tenants in production.
This new design generalizes those lessons into a simpler, more universal interface.

Multi-tenancy isn’t a common need, so real-world feedback is invaluable.
If you spot design flaws, anti-patterns, or confusing docs – please let me know. Even small input helps make it stronger.

Repo: https://github.com/kubernetes-tenants/tenant-operator
License: Apache 2.0


Comments URL: https://news.ycombinator.com/item?id=45820098

Points: 2

# Comments: 0

Source: docs.kubernetes-tenants.org

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Experimenting with Vibration Sensors – Characterize RPM of Spinning Devices

Article URL: https://community.element14.com/challenges-projects/design-challenges/experimenting-with-vibration-sensors/b/blog/posts/experimenting-with-vibration-sensors—characterize-rpm-of-spinning-devices-5-fourier-transform-analysis-to-find-rpm Comments URL: https://news.ycombinator.com/item?id=45825929 Points: 1 # Comments: 0 Source: community.element14.com

I Built a Local Dev Tool for ChatGPT Apps SDK

Article URL: https://itsnikhil.github.io/blog/posts/oai-app-composer/ Comments URL: https://news.ycombinator.com/item?id=45825917 Points: 1 # Comments: 1 Source: itsnikhil.github.io

Do You Want To Boost Your Business?

drop us a line and keep in touch

We are here to help

One of our technicians will be with you shortly.