← Sat, Nov 28 digest

Tabernetes: A Kubernetes cluster whose nodes are browser tabs

read article ↗ hn thread ↗

Tabernetes is a novelty Kubernetes cluster where visitor browser tabs act as worker nodes running a WebAssembly Linux kernel via a custom container runtime.

summary is enough The project landing page is a fun novelty, and the technical mechanism of running containerized workloads in WebAssembly browser tabs is clear from a quick overview.

summary

Tabernetes uses WebAssembly to boot lightweight Linux guests inside visitor browser tabs, turning any connected browser into an active worker node within a central Kubernetes control plane. Visitors can execute commands, render Mandelbrot sets via awk, or chat across nodes hosted globally in random browsers. Developed as a playful infrastructure project, it demonstrates the surprising capability of modern browser-based virtualization runtimes.

key points

  1. Joining the cluster downloads roughly 5 MB and boots a WebAssembly Linux guest running on a single core inside the browser tab.
  2. A custom container runtime called tabc integrates with standard Kubernetes scheduler logic using a custom runtime class.
  3. The system handles distributed workloads like rendering Mandelbrot fractal tiles split across active browser nodes.

who should read it

Systems engineers and web developers interested in edge computing, WebAssembly virtualization, and unconventional Kubernetes architectures.

discussion warm

consensus

Commenters are thoroughly amused by the whimsical architecture, quickly riffing on other impossible-sounding browser infrastructure projects like running databases or storage drivers in tabs.

pushback

Some participants raise valid security concerns regarding untrusted code execution and the potential for weaponizing such setups into ad-hoc browser botnets.

best comment by xg15 ↗

Yes, but much in the same sense that websites could already run JavaScript code before. I.e., that part isn't new, and it runs in the same sandbox, so there is no security breach.

What's new is that it runs an entire Linux kernel on it and also emulates the structure of a Kubernetes cluster - so the cluster can assign your tab workloads, route requests to it, etc.

As with all those demos where "the server sends requests to the page" instead of the usual other way around, it's probably implemented using a WebSocket or WebRTC connection to the demo's server. The page has to open that …

It clarifies that while the setup runs a Linux kernel, it remains safely bound by browser sandbox and WebSocket constraints rather than exposing raw network ports.

Generated by an LLM from the article and thread. Check the sources before relying on it.