Tabernetes turns browser tabs into Kubernetes nodes. Open the page and your phone is a node. The scheduler sends it a pod, and the pod’s program runs on a Linux kernel booted in the tab. Close the tab and the node is gone, and Kubernetes starts the pod on someone else’s.
Joining downloads about 5 MB and runs a small Linux guest in the tab, on one core, until you close the tab. The control plane sits in the middle, with a node for each tab and each Service on the way to the pods behind it. Boot time measures how long a tab takes to start its pod: page loading, kernel booting and image mounting.
A tab joins by holding a socket open to an agent beside the API server. The agent registers a Node, the scheduler sends a pod, and the agent starts the container with tabc. A kernel compiled to Web Assembly runs the pod’s program on the tab’s CPU and memory. The pod’s files and address stay on the cluster’s machine.
The control plane is an ordinary Kubernetes, and a pod is an ordinary pod. The only new line is runtimeClassName: tab, which puts that pod on a tab and every other pod on the cluster’s own machine.
Source: Hacker News · Summarized by HeadlinesBriefing