Running WebAssembly on Kubernetes
summary
Demonstrates running Rust microservices packaged as OCI images on Kubernetes using the Spin runtime and a containerd shim, configured via a simple runtimeClass. A webshop demo runs on mixed x86/ARM nodes from one single build, scales from 1 to ~50 replicas in about 7–8 seconds, and serves static HTML via Spin. Covers tradeoffs: pre-prepared nodes vs operator (kwm), tiny binary images, stronger isolation than containers, and WebAssembly AI inference examples (e.g. 30 MB Llama Edge with TensorFlow/ONNX/PyTorch).
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:00What is WebAssembly?
- 7:00Portability and ease of deploying WebAssembly
- 10:20Security challenges with containers and advantages of WebAssembly
- 16:09Integrating WebAssembly into Kubernetes
- 18:30Kubernetes deployment options: pre-configuration vs operator
- 20:18Use cases for WebAssembly in Kubernetes and production
- 23:56WebAssembly in AI inference and use of frameworks like TensorFlow
- 25:14Extensibility of services with WebAssembly (custom plugins)
- 26:12Demo of Kubernetes with WebAssembly in action
- 31:00Kubernetes configuration and running microservices in WebAssembly
- 34:46Fast scalability in Kubernetes with WebAssembly
- 36:51Manifests and necessary configurations for WebAssembly runtime 🔥 Join the Build Stuff Community! 🌍 The Software Development Conference You Can't Miss! 👉 https://www.buildstuff.events/conf 💡 Become a Build Stuff Ambassador & Get Exclusive Perks & Rewards! 👉 https://buildstuff.events/pages/ambasador-program 📢 Follow Build Stuff for Updates! 🔵 Facebook Page: https://www.facebook.com/buildStuffconf 🐦 X: https://twitter.com/buildstuffconf 🔗 LinkedIn Page: https://www.linkedin.com/company/build-stuff 📺 YouTube: https://www.youtube.com/buildstuff 📷 Instagram: https://www.instagram.com/buildstuffconf/?hl=en 🎵 TikTok: https://www.tiktok.com/@buildstuffconf 📩 Contact Us: info@buildstuff.events 📢 Join the conversation & share your thoughts using #BuildStuffConf
related talks
31mBuilding Event-Driven WebAssembly on Kubernetes: Runtime, Observability, and…
37mIntroduction to SpinKube
33mKubernetes on the edge: running low-latency workloads with WebAssembly
01h 03mTruly Portable Code: Serverless WebAssembly in a Distributed World
24mWeb Assembly, Docker, Containerd, and Kubernetes
59mNext generation microservices and serverless apps with WebAssembly & Spin
28mGo Containerless on Kubernetes with WebAssembly and Rust
19mTaking WebAssembly for a Spin
