How to run WebAssembly applications on Rancher Desktop?
HTML-код
- Опубликовано: 4 окт 2024
- Starting v1.13.0, Rancher Desktop has added experimental support for running WebAssembly (Wasm) applications. In this video, we explore using this feature and deploying a sample #wasm app on the k3s #kubernetes cluster that comes bundled with Rancher Desktop.
====
To learn more about Rancher Desktop:
Website: rancherdesktop...
Documentation: docs.rancherde...
Rancher Academy: www.rancher.ac...
Register for the upcoming Rancher Desktop Global Online Meetup: www.youtube.co...
====
Other resources:
WebAssembly spec: webassembly.org
Spin framework by @fermyontech : github.com/fer...
Wasmtime project: wasmtime.dev/
WebAssembly component model: component-mode...
Rancher Live episode on WASI 0.2: www.youtube.co...
====
Follow Rancher by SUSE on social media:
X (formerly Twitter): x.com/Rancher_...
LinkedIn: / rancher
RUclips: @Rancher
Twitch: / thecommunitybysuse
Why use Kubernetes? Why not show a demo for the simplest possible way to spin up a wasm app, analogous to spinning up a docker container?
Heya, that's a great question!
There are two major reasons for this:
1. The value prop of a Wasm module is its capability to run anywhere - whether in a VM, on a desktop, in a browser, in Kubernetes, or on the edge. This is what we wanted to emphasize with us using the bundled k3s.
2. Rancher Desktop does support the other use case that you asked about - running a Wasm module using the inbuilt dockerd/moby runtime. Unfortunately, containerd is yet to receive that support because of the nerdctl bug.