Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

fzakaria/tabernetes

DevOps & Self-hosting

A kubelet that turns browser tabs into Kubernetes nodes running WebAssembly Linux containers.

216
8
Go
MIT
2 days old

What it does

tabernetes is a kubelet for browser tabs. It keeps an ordinary Kubernetes control plane (k3s on a small machine), while each browser tab that opens the join page becomes a cluster node named after the device. When the scheduler binds a pod to that node, the tab boots a Linux kernel compiled to WebAssembly and runs the container's program, using the tab's CPU and memory. Closing the tab deletes the node, and controllers reschedule its pods elsewhere.

Containers and their network namespace stay on the host machine, so a pod's traffic leaves from the host-side pod address and behaves like any other pod to Services. The project is aimed at people curious about Kubernetes scheduling, browser-based kernels and multi-device demos; it is not a production cluster.

Quick start

To try the public instance, open tabernet.es and press Join; the tab registers as a node and shows the pod it received, with a terminal streaming the pod log and an optional shell in the pod.

To schedule your own workload, apply a pod that requests the tab RuntimeClass, then inspect it with kubectl:

apiVersion: v1
kind: Pod
metadata:
  name: hello
spec:
  runtimeClassName: tab
  containers:
    - name: hello
      image: alpine
      command: ["sh", "-c", "echo hello from $(uname -m); sleep 3600"]
$ kubectl apply -f examples/hello.yaml
$ kubectl get pod hello -o wide
$ kubectl logs hello

The guest is always aarch64, so images need a linux/arm64 variant. More manifests, including a web server with Redis and a tiled picture renderer, are in examples.

Run your own

Self-hosting needs an x86-64 Linux machine with systemd, root, and a kernel with bridges and network namespaces. The deploy command copies the agent and tabc over, installs k3s if absent, and starts the agent on port 8000:

$ nix run github:fzakaria/tabernetes#deploy -- <ssh host> <public address>

Put HTTPS in front of port 8000 and open the address. MAX_NODES, MAX_NODES_PER_ADDRESS, SEEDS, UNKERNEL_MIRROR, ZONE and DEMO tune limits, headless seed nodes, the kernel mirror, the globe's time zone and whether examples are loaded. The agent also rejects tabs when the machine has under 1 GB of free memory, at roughly 9 MB per node. The design document has implementation details and measurements.

Constraints

Each tab pod is limited to one container, one CPU and 128–256 MiB of memory. Supported fields include command, args, env, workingDir, TCP ports, emptyDir and hostPath volumes, restartPolicy and an HTTP readinessProbe; kubectl logs works, but kubectl exec, init containers, ConfigMaps and Secrets do not yet. Pods cannot reach the internet, the API server or the host itself. Because the tab holds the pod's memory, secrets must not be placed there. tabc (the container runtime) and unkernel (the WebAssembly Linux kernel) are separate projects. The code is MIT licensed.

HotRepo's take

The repository appeared on HotRepo's new-project board for Go on 2026-11-28, gaining 90 stars and 4 forks during that day's roughly 11-hour window and reaching 191 total stars. It has no recorded position on the all-language daily ranking. The design—splitting the data plane across host-side networking and browser-side execution—is what makes the rescheduling demo (close a tab, watch the pod move) credible; readers should judge it as a scheduling and WebAssembly experiment rather than a deployment target, since the pod feature set and secret handling are deliberately limited.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. dsx-ai-factory/run-aiGPU-aware AI workload orchestration and scheduling platform for teams running training and inference on shared Kubernetes clusters.Go728
  2. kubernetes/kubernetesA container orchestration system for platform teams who need to schedule, scale and operate containerized workloads across many hosts.Go128,606
  3. k3s-io/k3sA self-hostable, single-binary Kubernetes distribution for edge, IoT, CI and small clusters.Go34,290
  4. k0sproject/k0sA single-binary Kubernetes distribution for bare metal, edge, IoT, and cloud clusters.Go6,580
  5. pithings/unkernelBoots a real Linux kernel compiled to WebAssembly, giving a fast Alpine shell in the browser or via Node.TypeScript111