Browser Kubernetes Cluster: How Tabernet Works
See how Tabernet turns browser tabs into Kubernetes nodes, how WebAssembly runs Linux pods, and what this ephemeral cluster model can—and cannot—do in practice.

What Happens When Kubernetes Runs on Browser Tabs?
Kubernetes usually runs on machines you control: cloud instances, data-center servers, or local development hardware. Tabernet takes a different approach. When you open its page, your browser can effectively become a node. The Kubernetes scheduler can assign it a pod, and that pod's program runs inside a small Linux guest booted within the tab.
The whole setup is meant to be temporary. Joining involves a download of about 5 MB, it starts a Linux guest using one core, and it keeps running only while the tab stays open. Once you close the tab, the node goes away and Kubernetes can move the pod elsewhere. In other words, it's a hands-on demo of scheduling, distributed work, and failure handling - not a recipe for a dependable production cluster built out of random visitors' devices.
This article lays out how the pieces fit, what the browser is actually running, and why the line between a great technical demo and a practical compute platform matters. It also covers the questions you should ask before trying the same idea in another project.
What is Tabernet
Tabernet is an experimental Kubernetes cluster where a browser tab can act as a worker node. The control plane stays on a normal machine. Tabs join as nodes, and Kubernetes can schedule pods onto them. At the orchestration layer it feels familiar, but at the execution layer it's unusual: the "worker" is a browser session running on someone's device.
That distinction matters. A tab isn't a conventional Linux server. Tabernet runs a small Linux guest inside the tab, using a kernel compiled to WebAssembly. The guest runs the pod's program using whatever CPU and memory the browser session has available. The project describes joining with about a 5 MB download and using one core while the tab remains open.
Instead of hiding everything behind a video, the demo exposes the system as a live cluster. You can see a node list with the devices and browsers that have joined. There's also a topology view showing the control plane, nodes, Services, and pods. Visitors can send a request to a Service and watch a pod running on a participant's device handle it. Separately, there's a Mandelbrot-set renderer that splits an image into 64 tiles, with each node computing part of the result.
These interactions make the architecture easier to follow. A request goes through a Service to an available pod; a tile gets computed by a node and returned to the page. The demo also shows boot time and request latency - useful measurements for browser-based workers, where startup and network effects aren't just theoretical.
The point isn't that browsers replace cloud infrastructure. It's that Kubernetes can coordinate work across a pool of temporary browser sessions. It's a practical way to explore what happens when a familiar scheduler is asked to manage workers that can disappear at short notice.
Key takeaway: Tabernet keeps the Kubernetes control plane conventional while experimenting with an unconventional worker: a Linux environment running inside a browser tab.
How does a browser tab become a Kubernetes node
The flow starts when someone opens the join page. The page keeps a socket connection open to an agent running next to the Kubernetes API server. That agent registers the tab as a Node, so the cluster can see it. As with any node, the key operational reality is that it can disappear - and here, closing the tab is the obvious way that happens.
Next, the scheduler assigns a pod. Tabernet uses a container runtime called tabc to start the pod's container in the tab. A Linux kernel compiled to WebAssembly boots inside the tab, and the pod's program runs against the CPU and memory available to that browser session. So the tab is doing real compute - but it isn't turning a phone into a standard cloud VM.
The pod's files and address stay on the cluster's machine, based on the project description. That's an important boundary: execution happens in the tab, while some of the pod's supporting state and identity are handled elsewhere. It helps connect browser-based execution to ordinary Kubernetes Services, but it shouldn't be treated as a general storage or networking approach without looking closely at how it's implemented (and what it can't do).
A pod requests this placement through a runtime class. The example below sets runtimeClassName: tab; the rest is standard Kubernetes pod configuration:
apiVersion: v1
kind: Pod
metadata:
name: hello
spec:
runtimeClassName: tab
containers:
- name: hello
image: alpine
command: ["sh", "-c", "echo hello from $(uname -m) in a tab; sleep 3600"]
That single field is the main switch. Pods marked for the tab runtime get sent to a browser-backed worker; pods without it stay on the cluster's normal machines. It's a clear demonstration of how runtime configuration can change the execution environment while keeping the workload definition fairly ordinary.
This is also where the trade-offs show up. You can schedule work onto a tab, but the tab's lifetime is ultimately controlled by the user and the device. If the session ends, Kubernetes has to handle a vanished node and place work elsewhere when possible. That's great for showing resilience, but it doesn't mean you'll get uninterrupted execution.
What can the cluster demonstrate
Tabernet's best value is that it makes distributed-system behavior visible. Instead of asking you to guess whether anything is happening, it gives you live activity and feedback. You can send a request to a Service, see a pod return the response from a participant's tab, and watch a counter record what happened. The project describes that counter as living in a Redis instance on another machine, which makes it easy to see how a request can cross multiple components and devices.
The Mandelbrot renderer is a particularly good fit for this setup. The page splits an image into 64 tiles, and pods calculate their assigned pieces using awk inside the Linux guest. Tiles can be linked back to the node that rendered them. The work splits cleanly and the outputs are straightforward to inspect, so it's easy to see independent tasks moving across workers.
That said, it isn't a fair benchmark of "browser compute" versus a cloud VM. What you see depends on more than raw CPU speed: how quickly a tab joins, how long the guest takes to boot, how work gets assigned, and how quickly results travel back to the page. The demo reports boot time (from pod handoff to actual program start) and request latency (from the agent handling the request through the Service until the pod's answer returns).
Those metrics make sense for a demo because they describe user-visible system behavior, not just CPU throughput. They also need context. The experience varies with the number of participants, device differences, browser background throttling, browser policies, and network conditions. A latency number from an interactive demo isn't automatically a service-level objective or a repeatable performance test.
There's also a product-design takeaway here: visibility can be part of the experience. Showing which node handled a request or rendered a tile turns scheduling from an abstract concept into something a visitor can actually see. For teaching Kubernetes, WebAssembly, or distributed task processing, that feedback loop is often more useful than a polished dashboard that doesn't connect to a visible action.
If you're running your own experiment, you still need to define what "success" means. For example, measure time from joining to a ready pod, count completed tiles (not just submitted work), and test what happens when a tab leaves mid-task. Those checks tell you whether the design handles its real constraints - or only looks distributed when everything is healthy.
Where does this model fit and where does it break
Browser tabs work best as workers when the job is bounded, separable, and safe to lose. Rendering independent tiles is a good example: one node can handle a tile, and if that node disappears, you can re-check or recompute the result. Educational demos and interactive experiments also benefit from this model because a visitor can contribute their device and immediately see their role in the process.
Those same properties also make tabs a poor default for dependable production workloads. A user can close the page without warning. A phone can lock the screen, switch networks, or put the browser in the background. Available CPU and memory vary by device, and browser behavior can change under power-saving or resource-management policies. Even if Kubernetes notices failures and reschedules work, recovery takes time and may force you to redo work that was already in progress.
Security and privacy need their own assessment. Visitors are contributing a device, so the page should clearly explain what gets downloaded, what runs, what resources are used, and how someone can stop participating. The project mentions a small Linux guest and one-core execution, but those details don't cover everything you'd care about in practice - especially isolation, permissions, network access, and data handling. Don't assume safety just because it's "browser" and "WebAssembly." Review the actual runtime and threat model.
A useful decision test is to ask four questions before you use a similar design:
- Can the task be retried? If a worker vanishes, can you discard partial output and run the task again?
- Is the work independent? Tasks that require frequent coordination or shared low-latency state are harder to distribute across unpredictable tabs.
- Can you verify the result? You should validate returned results before they affect a user, a payment, or any other critical flow.
- Is participation explicit? Users should know what their device is doing, and they should have a clear way to stop.
If those answers are favorable, browser workers can be an interesting option for opt-in computation and a compelling way to teach orchestration concepts. If you need stable capacity, strict uptime, predictable performance, or sensitive-data handling, it's usually better to use infrastructure where you control the resources and operating conditions.
The key comparison isn't "browser vs cloud" in the abstract. It's the trade between getting temporary, variable compute and paying the cost of running stable capacity. A tab-based fleet can work well when participation is part of the product and the work can tolerate churn. In a production service, the operational burden - retries, validation, observability, and user consent - can easily outweigh the compute you gain.
Conclusion
Tabernet is compelling because it makes Kubernetes scheduling tangible: a browser joins as a node, a pod runs inside a Linux guest, and the cluster sends work to whichever tab can handle it. It's a good example of how familiar orchestration ideas carry over to a very different execution environment.
Its limits are just as important. Browser workers are temporary, heterogeneous, and controlled by users. Treat them as experimental capacity for observable, retryable tasks - not as dependable servers by default. The real question is whether your workload can tolerate variability, and whether the value of participation is worth the operational cost.