okta-rust-webassembly-k8s-example
krustlet
okta-rust-webassembly-k8s-example | krustlet | |
---|---|---|
1 | 21 | |
2 | 3,533 | |
- | 0.3% | |
0.0 | 3.1 | |
over 2 years ago | 7 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
okta-rust-webassembly-k8s-example
-
Containerless! How to Run WebAssembly Workloads on Kubernetes with Rust
Awesome. You have successfully created a Wasm workload using Rust and deployed it to a Kubernetes cluster without using containers. If you'd like to take a look at this solution in full, check out the GitHub repo.
krustlet
-
WASM Instructions
Oh it’s certainly looking like that IMO.
You can run wasm in k8s: https://krustlet.dev/
Docker itself can run wasm: https://wasmlabs.dev/articles/docker-without-containers/
There are a few serverless runtimes based on wasm: https://wasmcloud.com/
A lot of those are powered by wasmtime or WasmEdge.
If you’re wanting to be able to just pull down a random app and run it as wasm, that’s inherently harder with wasm, because you have to recompile, and amazing compiling stuff is always harder than it should be. For example I compiled jq to wasm to other day, so you dont have to worry (as much) about the CVEs that was issued recently. https://github.com/rockwotj/jq-wasi
- The advantage of WASM compared with container runtimes
-
Crafting container images without Dockerfiles
It can, kubevirt is a project for running VMs https://kubevirt.io/ and there have been more esoteric things like WASM (https://github.com/krustlet/krustlet).
- The Python Paradox
-
I Don’t wanna use Docker or kubernetes
Or you can run Krustlet instead of Kubelet. That makes it so you can only run WebAssembly on the cluster - so no Go, no Python, only Rust!
-
Why did the Krustlet project die?
But the project seems to have died: https://github.com/krustlet/krustlet/graphs/contributors
-
Does anybody have a use-case for Scala WASM compilation target?
There are some cloud providers that are starting to offer wasm support. Docker is currently working on wasm https://docs.docker.com/desktop/wasm/ There is also krustlet https://krustlet.dev/ which lets you run wasm in kubernetes
- How I got involved in the Rust community
-
Are V8 isolates the future of computing?
> If one writes Go or Rust, there are much better ways to run them than targeting WASM
wasm has its place, especially for contained workloads that can be wrapped in its strict capability boundaries (think, file-encoding jobs that shouldn't access anything else but said files: https://news.ycombinator.com/item?id=29112713).
> Containers are still the defacto standard.
wasmedge [0], atmo [1], krustlet [2], blueboat [3] and numerous other projects are turning up the heat [4]!
[0] https://github.com/WasmEdge/WasmEdge
[1] https://github.com/suborbital/atmo
[2] https://github.com/krustlet/krustlet
[3] https://github.com/losfair/blueboat
[4] https://news.ycombinator.com/item?id=30155295
- Krustlet: Kubernetes Kubelet in Rust for Running WASM
What are some alternatives?
wasmtime - A fast and secure runtime for WebAssembly
miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
wasm-to-oci - Use OCI registries to distribute Wasm modules
youki - A container runtime written in Rust
wasi-experimental-http - Experimental outbound HTTP support for WebAssembly and WASI
yew - Rust / Wasm framework for creating reliable and efficient web applications
tokens
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
kind - Kubernetes IN Docker - local clusters for testing Kubernetes
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
wasi-libc - WASI libc implementation for WebAssembly
awesome-paas - A curated list of PaaS, developer platforms, Self hosted PaaS, Cloud IDEs and ADNs.