kube32 - Kubernetes-compatible control plane for ESP32 microcontrollers
Show HN: I rebuilt Kubernetes for ESP32 microcontrollers
kube32 brings Kubernetes orchestration to tiny ESP32-S3 microcontrollers. It provides a Kubernetes-compatible control plane, a Kubelet agent, and a WebAssembly runtime, letting you manage a cluster of boards with familiar tools like kubectl and k9s over Wi-Fi or USB serial. Pods are WebAssembly modules executed by the wasm3 interpreter, with support for services, ingress, persistent storage, and peripheral access gated by a capability firewall. Whether you're building IoT devices or edge computing projects, kube32 offers a lightweight, familiar way to deploy and manage workloads on constrained hardware.
kube32 is a Kubernetes-compatible control plane and WebAssembly pod runtime for ESP32-S3 microcontrollers.
- Arterialist
Hey guys, I had a few esp32 boards around for a while and always thought - how do we go beyond just one device, would it be possible to apply cloud-native thinking to distributed edge computing?
Result is Kube32. I got the cluster and a full-stack web app with real-time sync running on esp32 s3 dev board and cardputer - https://7f0c-180-74-71-21.ngrok-free.app/ (may go down) (should support at least a few concurrent users - break it)
You won't see one cool thing though, which is the hud pod that uses Cardputer as a keyboard that syncs keystrokes to all clients in real-time.
Honestly, it opens so many possibilities for distributed edge computing and multi-device systems. Let me know what use-cases do you think would benefit from kube32 the most.
- everforward
Super cool! One thought that would make this way more useful to me (and probably a thousand times more complicated, sorry) is if it had a way to split out “GPIO” subroutines from the main app, and schedule them separately. So GPIO would become an addressable unit like pods or load balancers in k8s.
The idea is I could specify something like “I have this app that needs to pull data from a GPIO labeled as a ds18b20 and outdoors” and it takes care of scheduling my app, starting a ds18b20 reader, and networks them together. I never need to know if they’re on the same esp32, separate ones, or in a crazy alternate world the compute bit goes on a VM on a laptop with no GPIOs and the sensors go on a real esp32.
Having GPIOs be an addressable resource would be so cool. Like if nothing else, I could start a new esp32 project without wiring up a breadboard. Most of my stuff is some combination of the same 10 chips anyways.
- catlifeonmars
What kind of overhead does the Wasm approach add in terms of memory and cpu time? I also have way too many ESP32 boards lying around