3 ms·
Hi! Krustlet maintainer here. The idea behind the project is to run WebAssembly modules in Kubernetes. You would have to compile your Python script to WebAssem
by bacongobbler 6y ago
Hi! Krustlet maintainer here.
The idea behind the project is to run WebAssembly modules in Kubernetes. You would have to compile your Python script to WebAssembly before it could be executed.
If your WebAssembly module complies with the WebAssembly System Interface, Krustlet can run it.
It's important to note that the WASI standard and wasmtime are still under heavy development. There are some key features (like networking) that are currently missing, but will be made available in future updates.
- zxcmx 6y agoMaybe a dumb question, but can I run Krustlet in the browser? (maybe via browser WASI polyfill?). Does this mean you could assemble ad-hoc clusters using volunteer browsers? Not saying one _should_, but could you?
- bacongobbler 6y agoNo.
- andoriyu 6y agoKrustlet is not in WebAssembly itself. It's an implementation of kubelet in rust that runs WebAssembly inside WASI or WASCC runtime, not other way around.
- lioeters 6y ago> assemble ad-hoc clusters using volunteer browsers It sounds far-fetched, but I think it may eventually become practical with WASM and WebRTC, to use peer-to-peer networking for distributed computing. Closest example in that direction, I've heard of malicious WASM payloads that mine cryptocurrencies: Persistent drive-by cryptomining coming to a browser near you (2017) https://blog.malwarebytes.com/cybercrime/2017/11/persistent-drive-by-cryptomining-coming-to-a-browser-near-you/ https://blog.malwarebytes.com/cybercrime/2017/11/persistent-... I'm optimistic that people will find socially beneficial application of this idea.