ngrok engineer has created a demo named 'Wébernetes' that runs a lightweight Kubernetes cluster entirely within a web browser using WebAssembly and eBPF. The project is open-source on GitHub, allowing users to explore Kubernetes concepts without local setup. This breakthrough enables Kubernetes education and testing directly in the browser, eliminating setup friction and making it accessible to anyone with a web browser. It also demonstrates the potential of WebAssembly and eBPF to run complex infrastructure software in sandboxed environments. The project uses WebAssembly to run user-space services and eBPF to handle kernel-level networking and system calls within the browser. It is not a full production cluster but a proof-of-concept aimed at learning and experimentation, with limitations on real container execution.
Background
Kubernetes is an open-source platform for automating deployment, scaling, and management of containerized applications, traditionally requiring a cluster of machines. WebAssembly (Wasm) is a portable binary format that enables high-performance execution in browsers and other environments, while eBPF allows safe program execution within the Linux kernel without modification. Combining these technologies in the browser allows running Kubernetes control-plane-like logic without a full OS.
References
Discussion
Commenters expressed excitement for the educational potential, particularly for learning kubectl and Kubernetes architecture. Some questioned whether it truly runs containers in the browser, noting that each service likely needs custom connectors. The discussion also highlighted the value of using real Kubernetes behavior for testing AI-generated code.