Tabernetes: A Kubernetes cluster whose nodes are browser tabs tabernet.es · 24 p...

@best

Tabernetes: A Kubernetes cluster whose nodes are browser tabs tabernet.es · 24 points · 8 comments · HN thread

TL;DR Tabernetes is a demo cluster in which each browser tab that joins becomes a Kubernetes node. Opening the page downloads about 5 MB and boots a small Linux guest (a kernel compiled to WebAssembly) in the tab, which then runs pods scheduled to it by a control plane on a server. Closing the tab removes the node and the scheduler moves its pod elsewhere.

  • Joining downloads about 5 MB and runs a small Linux guest on one core in the tab until the tab is closed.
  • A custom container runtime, tabc, runs containers inside browser tabs; pods opt in with runtimeClassName: tab, and all other pods stay on the server.
  • Pod files and network address stay on the cluster's machine, while the tab only supplies CPU and memory.
  • The page shows live dashboards for boot time, request latency, the Services with pods on tabs, and a fleet table of devices and browsers.
  • A demo button renders a Mandelbrot set split into 64 tiles, each computed in awk by the pod on a different tab.
  • The page is built on unkernel.dev, which the commenters point to as the enabling technology.

Discussion The thread is short and light in tone. Most comments are playful or excited about the concept, with a side joke about the project's name and a brief mention of what the underlying technology could be used for. One commenter ran into confusion about how nodes map to tabs and whether one browser can host several pods, which was cleared up by the commenter's own edit after finding the join button.

  • Impressed by the concept and its novelty (many): Several commenters call it a cool idea and are interested in what people will actually do with browser-based compute. The mood is curious rather than critical.
  • Unclear how a tab maps to a node (some): One commenter expected that multiple tabs in one browser would share a single node with pod slots, and saw no node running more than one pod. They asked whether each tab is its own worker node and whether the control plane runs only on the server. The answer was not stated in the thread beyond their own edit.
  • Useful for donated compute like BOINC (a few): One commenter suggests it could carry spare compute for science projects such as BOINC, and another mentions running Reticulum nodes, saying the tool makes that easier though it was already possible.
  • Joke about the name and playful use ideas (a few): A commenter notes that Quebec developers might find the name amusing, and another suggests hosting an IRC server so tabs can chat with each other.
  • Hit the tab limit quickly (a few): One commenter reports opening many tabs and running into a limit on how many can join.

#kubernetes #webassembly #browsers #distributedComputing #linux #demo