hn.today

Tabernetes: A Kubernetes cluster whose nodes are browser tabs

tabernet.es36 points14 comments
Screenshot of Tabernetes: A Kubernetes cluster whose nodes are browser tabs

Tabernetes is an experimental Kubernetes cluster that treats open browser tabs as temporary worker nodes. A visitor joins from a phone or computer; the page downloads roughly 5 MB and runs a small Linux guest in the tab, where a scheduled pod’s program can use the device’s CPU and memory. Closing the tab removes that node, and Kubernetes can reschedule its pod elsewhere. The cluster’s control plane remains ordinary Kubernetes on a central machine, while a browser-connected agent registers tabs as nodes and starts their containers through a browser-based runtime. A pod requests this placement with a runtime class; other pods continue to run on the central machine.

The site presents the project as a live, testable demonstration, with displays intended to show nodes, pod boot times, request latency, device and browser details, and workload migration. Visitors can send a request to a Service, whose pod runs in a participant’s tab, or ask the cluster to render a Mandelbrot image by splitting it into 64 tiles for pods to calculate in awk. The pod’s files and network address remain on the cluster machine even though its Linux program runs in the tab. At the time described, no tabs had joined, so no pods had started, requests had been answered, or images rendered; the page explains the design and invites visitors to become the first node.

Read on tabernet.es14 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Source Control from Hell

Source Control from Hell

An early software job relied on a shared folder, manual change descriptions, and a tech lead copying code by hand, with coworkers announcing when they needed access to avoid overwriting each other. Discovering Git showed Alex how version control could make collaboration faster and safer, but his company kept its old process for years because it worked well enough for them. (frantic.im)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.