Multi-Tenant Kubernetes Networking: VPCs Without the Ticket
Multi-tenant Kubernetes networking on bare metal: overlapping CIDRs, isolated VPCs and cloud-style LoadBalancers. See how kMetal replaces the network ticket.

- Written by

CO-FOUNDER · CTO
- Published on
- November 24, 2026
- Read Time
- 9 min
The cloud made networking look easy
In a public cloud, networking takes about forty seconds. You open the console, create a VPC, add a Subnet, type a CIDR block such as 10.0.0.0/24, and click Create. It feels about as serious as naming a folder.
It isn't. Behind that form sits one of the oldest puzzles in infrastructure: what stops packets from getting confused when two networks share the same CIDR block? Same addresses, same servers, same cables. Yet somehow two customers can both pick 10.0.0.0/24 and never meet.
In a public cloud, thousands of engineers hide the answer from you. On your own hardware, you get to learn it yourself, usually at 2 AM.
The network ticket: Infrastructure and DevOps, divided
Picture a DevOps engineer who needs a Kubernetes cluster. Simple enough, except the cluster needs a network first, and she isn't allowed to create one. So she opens a ticket.
Someone in the Infrastructure team picks it up, eventually. If she wants a specific CIDR block, the answer is probably no: everything lives in one flat address space, and her range was claimed months ago. She gets whatever is free. We have watched customers wait 24 hours for a network. A full day, for something a public cloud does in under a minute.
Two teams, one company, one goal, and not much shared vocabulary. Infrastructure speaks in VLANs, switch ports and change windows. DevOps speaks in clusters, pipelines and "needed it yesterday". Each is right about its own world, and neither can see the other's.
The ticket isn't bureaucracy for sport. The network is the first thing that breaks at scale, and it breaks loudly. One wrong segment can cut a rack off from the outside world or from its storage, and that kind of outage earns its own postmortem. So nobody hands out the keys. That is reasonable, and expensive: every team waits in the same queue.
Open vSwitch: virtual networks, open source
Open source found a way out of the queue: Open vSwitch, or OVS. It is a virtual switch built entirely in software. Instead of cabling physical switches for every new network, you create networks in software and plug virtual machines into them.
In a traditional setup, OVS runs on each hypervisor host. Every virtual network is its own private world, so the same address can exist in two networks without a collision, because the two never share a path. That is a large part of why creating a network in a virtualized environment doesn't involve touching a cable.
Bare metal changes the problem
So far, so good. But we're talking about bare metal, and OVS was built to be consumed by virtual machines. It is the layer that connects the VMs living on a host. Bare-metal servers are a different animal: there are many of them, and they are connected by a physical switch.
Here the virtual networks have to cross that switch to link servers together. They must do it without a ticket to whoever owns the switch every time a tenant is added, and without letting any tenant wander into someone else's traffic. That is the gap between a good virtual switch and a platform that can offer networking as a service.
One API from infrastructure to platform: Kube-OVN
kMetal was designed to bridge that gap with a single, unified API: Kubernetes. If the platform team already speaks Kubernetes, the network should speak it too.
That is possible thanks to Kube-OVN, a Cloud Native Computing Foundation project that provides a control plane for the OVS data plane. In kMetal, it is our control plane for networking. Whatever is declared in Kubernetes becomes a real virtual network, running on OVS across your servers. Tunnels carry tenant traffic between machines, so the physical switches only ever see ordinary traffic and never need to know a tenant exists. No VLAN per customer, no change window per customer.
Why networks can't simply be handed to tenants
Networking is adult business, and Kube-OVN reflects that. It exposes everything as Kubernetes objects, but VPCs and Subnets are cluster-scoped: they belong to the whole cluster, not to any one tenant. In a multi-tenant platform you can't delegate them. Letting one tenant edit a cluster-wide object means letting them edit everyone's. Back to the ticket.
Our answer reuses a mental model every Kubernetes user already has. When you want storage, you don't create a PersistentVolume. You create a PersistentVolumeClaim, a request, and the platform provides the volume behind it. So we did the same for networking: a tenant asks for a private network with a VpcClaim, and for address space with a SubnetClaim.
kMetal turns each request into the real objects and adds the guard rails itself. The routes that keep tenants apart are never the tenant's to write. A tenant can ask for a network, but never for a route into someone else's.
A tenant can hold several subnets inside one VPC, for example separate dev and prod ranges within one isolated network, and kMetal refuses a subnet that overlaps another inside the same VPC. Infrastructure stays in control of what is safe. DevOps gets a network as fast as a kubectl apply. No new console, no new tool. The networking tasks guide shows the details.
Overlapping CIDR blocks: how two tenants can pick the same range
Now we can answer the question we started with. Two tenants both choose 10.0.0.0/24. Why doesn't traffic get confused?
Because in kMetal each tenant's VPC is its own routing domain: a private world with its own address book and no path to anyone else's. Isolation is the topology, not a policy bolted on afterwards. There is no global allocation to coordinate, no spreadsheet of who took which range, and no negotiation with Infrastructure. Tenants can overlap with each other freely.
The only place those worlds touch the real network is the way out, and that is the provider network. A provider network is a segment of the physical network that carries tenant traffic to the outside. Traffic leaves each private world through it under a unique external address instead of its private one, so two identical private ranges never meet on the wire. One provider network can therefore carry many independent networks. kMetal also keeps tenants from reaching the provider segment itself, so the shared door never becomes a shared hallway.

Strict environments: a provider network of your own
A shared provider network is the right default. But some environments, such as regulated industries, sovereign clouds and customers who pay for extra separation, want another layer of isolation than a shared door.
kMetal supports multiple, independent provider networks. A tenant can be given one of its own: its traffic leaves through that segment alone, and its external addresses come from it. Different tenants can have different upstream connectivity, all declared the same way.
The result is a spectrum of isolation rather than a single setting: a shared door for most tenants, a private door for those who need one. The networking configuration guide covers how provider networks are declared.
Getting out, and getting in
Isolated doesn't mean cut off. Each private network can reach the outside world through SNAT: outbound traffic leaves presented as a public IP, so workloads can pull images and call APIs while staying private. The datacentre edge only has to route the provider segment. It never needs to know about individual tenants.
Getting in is the harder half. A user has an application and wants a LoadBalancer: an IP that forwards external traffic to their workloads. That is the cloud contract. You bring the application, you get the load balancer, and nobody opens a ticket. On bare metal, someone usually does: pick an address, configure NAT, update the router, test, hope.
kMetal implements the contract with the EipClaim, an External IP that is assigned to a tenant. The tenant's application asks for a LoadBalancer the way it would anywhere else, and kMetal does all the wiring so external traffic reaches the workload. The address is the tenant's to keep, not tied to the lifetime of a single Service. No hand-managed NAT, no router change, none of the hassle of managing the networking.
IPs are finite, and not free
Public IPs are scarce and cost real money. A self-service platform that hands them out freely is a platform where one enthusiastic customer ends up holding all of them.
That is why the EipClaim is namespace-scoped: it belongs to a single tenant's space, and it can be capped with a standard Kubernetes ResourceQuota, the same mechanism administrators already use for CPU, memory and storage. A tenant with a quota of five can hold five, and the sixth Service waits. Self-service, with a ceiling.
Four questions to ask any platform about networking
Whatever you evaluate for running your own cloud, these four questions separate a console from a contract:
- Who creates a tenant's VPC: the tenant, or a ticket?
- Can two tenants use the same CIDR block?
- Does the physical switch need configuring for each new tenant?
- Who owns the public IPs, and can you cap how many a tenant takes?
The datacentre as Kubernetes objects
Put the pieces together. Infrastructure keeps ownership of the underlay: the physical network, the provider networks, the address pools and the limits. DevOps gets VPCs, subnets and public IPs on demand, by asking in the same language they use for everything else.
We didn't invent a new interface to close the gap between the two teams. We used the Kubernetes API contract, with the same claim pattern for networks that Kubernetes already uses for storage, so the entire datacentre can be managed with Kubernetes objects. Operations get simpler. Multi-tenancy becomes real, with overlapping address space and no path between tenants. And isolation comes as a spectrum, from a shared door to a dedicated one. The day-long ticket becomes a manifest.
Building a sovereign cloud, an internal platform, or a multi-tenant service on hardware you control? Talk to Sales and see kMetal networking in action.
Frequently asked questions (FAQs)
How do overlapping CIDR blocks work in multi-tenant Kubernetes?
Each tenant gets its own VPC, a separate routing domain, so identical ranges never share a path. Traffic that leaves is presented under a unique external address, so the overlap never reaches the physical network.
What is a provider network?
A provider network is a segment of the physical network that connects tenant VPCs to the outside world. Tenants share one by default, and an administrator can give a tenant its own for stricter isolation.
Can you get a cloud-style LoadBalancer on bare metal?
Yes. In kMetal a tenant requests a LoadBalancer Service, an EipClaim provides the external IP, kMetal handles the wiring, and a ResourceQuota caps how many IPs a tenant can use.