I ported Kubernetes to the browser
Blog post from Ngrok
Webernetes is a TypeScript adaptation of Kubernetes designed to run clusters in a browser, created to facilitate interactive Kubernetes content rather than serve as a production-ready solution. The project, developed over two months, involved generating nearly 100,000 lines of code and included ports of essential Kubernetes components like the kubelet binary, various controllers, and a browser-based container network interface. Instead of compiling Kubernetes to WebAssembly, Webernetes maintains a small footprint by utilizing a browser-based registry and a TypeScript API to define images, allowing users to simulate Kubernetes functionalities such as pod lifecycles and networking. The creator, Sam Rose, relied heavily on LLMs for code generation but ensured quality by reviewing every line and establishing a robust suite of tests to mirror Kubernetes' behaviors. Despite challenges with LLMs' accuracy, Rose believes that combining human oversight with LLM capabilities enhances efficiency. The project aims to expand its feature set as needed and invites contributions to refine and extend its capabilities.
No tracked trend matches for this post yet.