Krustlet, the WebAssembly Kubelet
deislabs.io
deislabs.io
> We took this time to prove that we could achieve something that seemed incredibly difficult a few months ago: writing projects against the Kubernetes API in languages other than Go
Is this a comment on the API, or ecosystem, or does it convey a change in personal understanding?
I mean ... I don't like client-go. Each version is superglued to particular API versions which effectively imposes release forks on downstream consumers. An unexpectedly large amount of magic is hidden in it. And I just don't like code generation, as a rule.
But I don't see the Kubernetes API, the thing you can talk raw HTTP to, in itself, as super hard. I have a (private) codebase where I was able to recreate a proxy server from the OpenAPI spec that's good enough to fool kubectl. And I can just as easily poke it with curl and figure out what it does.
"Deis Labs: Open Source from Microsoft Azure."
My experience of working with fiendish teat-touting oligopolists is that the folks at the coalface are just folks. Google engineers: just folks. Microsoft engineers: just folks. IBM, Red Hat, SAP, Heroku/Salesforce, VMware: all just folks.
Most of the nonsense comes from upper managements, so far as I am able to determine.
Is https://flynn.io/ still alive?
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.
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-...
I'm optimistic that people will find socially beneficial application of this idea.
I can't answer your question exactly, but I assume that it can run any compiled binary.
It's needed because WebAssembly becoming a nice and secure way to run your workloads and have plugins written in multiple languages.