blog.rust.gay

Wasm is ready for a slice of Kubernetes, not a takeover

Every few years, someone asks whether WebAssembly will replace containers. The question is usually followed by a diagram that shows a 0.5-millisecond cold start next to a multi-second container boot, and a conclusion that the container era is over. The diagram is not wrong. It is just measuring two different things, for two different workloads, and then pretending the difference is universal.

Romaric Philogene, the CEO and co-founder of Qovery, makes a more careful argument in a November 14, 2026 post. His verdict: WebAssembly will not replace containers on Kubernetes in 2026, but it is ready for a narrow slice of lightweight workloads. The evidence is a set of standards milestones, two Kubernetes integrations, a few market signals that point in opposite directions, and a cold-start comparison that is widely misread. The conclusion is less exciting than the hype and more useful than the skepticism.

The timing is right for a status check. WASI 0.3 shipped in June 2026, Wasmtime 46 runs it by default, and the Kubernetes path through SpinKube and wasmCloud is real. At the same time, Azure retired its AKS WASI node pools, Docker deprecated its Wasm workloads feature, and the vendor market consolidated around edge and serverless. The technology is more capable than ever, and the general-purpose Kubernetes market is less interested than the hype suggests.

What actually changed with WASI 0.3

The standards story is the strongest part of the case. WASI 0.2, released in January 2024, introduced the Component Model and WIT interfaces. That made it possible for a component written in Rust to call a component written in Go or Python through typed interfaces, instead of treating every module as an isolated blob. The Component Model is what turns WebAssembly from a single-language sandbox into a composition format.

Wasm 3.0, standardized on September 17, 2025, added 64-bit memory, garbage collection, exception handling, tail calls, and multiple memories. The 64-bit memory raises the addressable limit beyond 4 GB. Garbage collection makes Java, Kotlin, Dart, and similar languages viable without shipping their own collector. Exception handling and tail calls make compiled languages easier to support. These are not cosmetic features; they are the difference between a runtime for demos and a runtime for real applications.

WASI 0.3, released on June 11, 2026, moved async into the Component Model with async func, stream<T>, and future<T>. Before 0.3, async wake-ups could be lost between nested components, which made composition fragile. The 0.3 model gives components a standard way to express asynchronous work. WASI 0.3.1 followed on August 11, 2026, and Wasmtime 46 and later run 0.3 components by default. There is still no WASI 1.0.

The absence of 1.0 matters. A 0.x standard can change in ways that break compatibility. The ecosystem has stabilized around 0.2 and 0.3, but the version number is a warning to anyone planning a multi-year platform bet. The good news is that the major runtimes are converging. The bad news is that “converging” is not the same as “finished.”

How Wasm runs on Kubernetes

The Kubernetes integration is simpler than the hype suggests and more real than the skeptics admit. WebAssembly runs through a containerd shim and a RuntimeClass. You install a shim on the nodes, declare a RuntimeClass that points to it, push the Wasm module to an OCI registry like any other image, and schedule pods or custom resources that reference the RuntimeClass. The kubelet starts the “pod,” containerd hands it to the shim, and the shim runs the Wasm component in-process with a runtime such as Wasmtime instead of starting a Linux container.

runwasi is the containerd sub-project that provides the shim layer. It supports Wasmtime, WasmEdge, and other runtimes. SpinKube packages the Spin Operator, the containerd Spin shim, and a runtime class manager. The operator watches SpinApp custom resources and creates Deployments that use the RuntimeClass. SpinKube and Spin were accepted into the CNCF Sandbox on January 21, 2025.

wasmCloud took a different path. It moved to CNCF Incubation in November 2024, and its 1.0 release brought WASI 0.2 components to production. It uses its own host runtime with a Kubernetes operator, rather than relying on a containerd shim. The result is similar from the user’s perspective: a Wasm component runs on a Kubernetes cluster, with a RuntimeClass or a custom resource selecting the runtime.

The integration reuses some of Kubernetes and rebuilds the rest. The OCI registry, the scheduler, and the RuntimeClass are reusable. The observability agents, service meshes, policy engines, and CI pipelines assume an OCI container. A Wasm pod is not a Linux process, so the tools that attach to a container may not work. That is the “real but thin” part of the article’s framing. The control plane accepts the workload; the operational tooling is still catching up.

The cold-start numbers are not comparable

The cold-start comparison is the most quoted and least understood part of the Wasm story. Fermyon reports 0.5-millisecond cold starts for Spin components. AWS Lambda cold starts are often 100 to 500 milliseconds. A Kubernetes container cold start, including scheduling, image pull, sandbox setup, process start, language runtime boot, and the readiness probe, can be a second to tens of seconds.

Those numbers measure different things. The 0.5 ms is a Wasm component starting inside an already-running host. It does not include pulling the module, scheduling a pod, or setting up a network namespace. The Lambda number includes a micro-VM, a language runtime, and the init code, but it benefits from a warm pool. The Kubernetes number includes the image pull, which is often the largest component and is unrelated to the runtime.

The comparison is fair only if the workload pays the cold start on the request path. A scale-to-zero function that handles one request every few minutes pays it every time. A warm API pod that has been running for three weeks does not pay it at all. A batch job that runs for an hour does not care whether it takes two seconds or two milliseconds to start. The cold-start advantage is real, but it is narrow.

The density claim is similar. Fermyon says a single node can run thousands of applications concurrently. That is plausible for tiny, stateless components with a shared runtime. It is not plausible for a database, a GPU inference service, or a Java application with a large heap. Density is a property of the workload, not just the runtime.

Where Wasm fits (and where it doesn't)

The article’s decision table is the most practical part. Wasm is a good fit for stateless HTTP functions, event handlers, plugins, sandboxed code, scale-to-zero functions, per-tenant functions, and edge functions. It is a poor fit for databases, queues, caches, GPU inference, large Python/Java/Node services with native extensions, and anything that is debugged with a shell.

The good-fit list shares a pattern: short-lived, stateless, small, and often untrusted. A webhook handler that validates a payload and writes to a queue is a good fit. An image resizer that takes a URL and returns a thumbnail is a good fit. A plugin system that runs third-party code in a sandbox is a good fit. A per-tenant function that runs a few milliseconds per request is a good fit. These workloads benefit from fast startup, low memory overhead, and a capability-based sandbox.

The poor-fit list shares the opposite pattern: long-running, stateful, large, or hardware-dependent. A database needs a filesystem, a network stack, and a process model that Wasm does not provide in the same way. A GPU inference service needs CUDA or an equivalent, which Wasm does not expose. A large Python service with native extensions may not have a Wasm build of every dependency. A Java application with a large heap may not fit the memory model. A service that is debugged with kubectl exec and a shell is a poor fit because the operational workflow does not exist.

The security argument is also workload-dependent. Wasm’s capability-based sandbox is deny-by-default: a component gets only the capabilities the host grants. That is a stronger model than a container running as root with a broad filesystem mount. But it is not a complete security boundary for every threat. Side channels, host runtime bugs, and misconfigured capabilities can undermine it. For untrusted code, Wasm is a good default. For a trusted service that needs a full Linux environment, a container is still the right tool.

The market signals are mixed

The market signals are the part of the article that complicates the hype. Akamai acquired Fermyon in December 2025. Fermyon maintains Spin and SpinKube, and Akamai said it would keep supporting both, with the explicit goal of running Wasm functions on its edge network. That is a bet on edge and serverless, not on general-purpose Kubernetes.

Azure retired its AKS WASI node pools. No new WASI node pools could be created from May 5, 2025; existing ones became unsupported; Microsoft points users to SpinKube from the Azure Marketplace instead. That is a retreat from a managed offering, not necessarily a retreat from the technology. But it sends a signal: the hyperscaler is not going to operate the Wasm runtime for you.

Docker deprecated Wasm workloads in Docker Desktop. The documentation says the feature is no longer actively maintained and will be removed in a future release. That is another signal that the general-purpose developer workflow is not where Wasm is winning. The edge and serverless vendors are investing; the desktop and general-purpose container vendors are not.

At the same time, the container market is enormous. The CNCF reports that 82% of container users now run Kubernetes in production, up from 66% in 2023. Every one of those users has an OCI-based workflow, a CI pipeline, an observability stack, and a security policy. Wasm on Kubernetes has to fit into that workflow, not replace it. The integrations are a way to fit in; the market signals are a reminder that fitting in is hard.

A one-week pilot, not a migration

The article’s advice is sound: keep containers as the default, and introduce WebAssembly only where you can name the bottleneck it removes. If you cannot point at a workload where cold start, density, or sandboxing is the problem, you do not need Wasm yet.

A good pilot is small. Pick one workload: an image resizer, a webhook handler, a per-tenant function, or a plugin sandbox. Create a dedicated node pool so the shim never touches your main nodes. Install SpinKube or wasmCloud on that pool. Deploy the same component to the cluster and, if possible, to an edge environment. Measure cold start, throughput, memory, and operability. Compare it to the container baseline. Then decide whether to expand.

The pilot should include the operational work, not just the runtime. Can you see logs? Can you trace a request? Can you attach a debugger? Can you roll back? Can you policy-control the component? Can you scan it for vulnerabilities? If the answer is no for any of those, the pilot has found a gap that matters more than the cold-start number.

The pilot should also include a failure test. Kill a node, drain the pool, and see what happens. A runtime that starts in 0.5 ms is not useful if the scheduler cannot reschedule the workload or the operator cannot recover. The Kubernetes integration is thin; the failure modes are where thin integrations show their seams.

The article is vendor content. Qovery sells Kubernetes platform management, and its advice to keep containers and pilot Wasm is credible because it does not threaten its core business. But it is still a vendor’s view. The technical facts are verifiable; the recommendation is a judgment. The judgment is reasonable: Wasm is a second runtime class for a narrow set of workloads, not a replacement for the container stack.

The broader lesson is that standards milestones are necessary but not sufficient. WASI 0.3 is a real achievement. Wasm 3.0 is a real achievement. SpinKube and wasmCloud are real integrations. But adoption depends on tooling, operations, and market incentives, and those move more slowly than specifications. The container era is not over. It is being extended, one runtime class at a time.

The bottom line

Wasm is not replacing containers in 2026. It is becoming a second runtime class for a narrow set of stateless, bursty, or untrusted workloads. The standards are ready enough to pilot, the Kubernetes integration is real but thin, and the market is consolidating around edge and serverless. If you have a workload where cold start or density is the bottleneck, run a one-week pilot. If you do not, wait.

Sources


← back to posts