mos
mos copied to clipboard
[idea] Unikernel Runtime for Kubernetes
It will be interesting to implement a CRI-O-compatible runtime for unik or other unikernel solutions. Then we could investigate if we could use unikernel to serve serverless workload in Kubernetes.
Related Projects and Issues
- https://github.com/solo-io/unik
- https://github.com/solo-io/unik/wiki/UniK:-Build-and-Run-Unikernels-with-Ease
- https://github.com/kata-containers/runtime
- https://github.com/kubevirt/kubevirt
- https://github.com/Mirantis/virtlet
- https://github.com/kubernetes/frakti/issues/99
interested
如果用这个系统(或者任何系统)让 k8s 支持 Unikernel 应该也不能直接搞个 Pod, 因为你不能把 docker image 像是 pod 一样 run, 所以会有独特的 crd. 所以……这个 idea 我可以理解为写个 Unik crd 吗?
以及 k8s 的 cri 现在不支持自定义,整个 kubelet (还是整个集群?)只能用一种 cri, 所以如果用 cri 来搞意味着不兼容 docker (?) 所以也说明了需要 crd 而不能用 pod
可以啊,CRI 就是为了支持 pod 才写的
支持自定义,通过 annotation,可以一个节点多个 cri
vm 怎么跑 docker image
kata, runv 是如何资词的,就可以继续如何资词
现在已经有 vm 的 cri 了,https://github.com/kata-containers/runtime
话说策策是不是该更新下这个 issue 了
done
I think we can keep it a open, I have two WIP projects k1s (a rust implementation compatible w/ k8s) and guguos (a library os for running relational database) that are related to this idea.
(Then the next comment shows up 2 years later w/ someone else implemented it ...