Mirantis / virtlet

Kubernetes CRI implementation for running VM workloads
Apache License 2.0
739 stars 128 forks source link

Integrated with kubernetes via container runtime v2 API instead of CRI proxy? #879

Closed haosdent closed 5 years ago

haosdent commented 5 years ago

Hi, does virtlet have plans to integrated with container runtime v2 API like kata instead of set up CRI proxy in every server? CRI proxy is not user-friendly.

shimv2_svg

containerd runtime v2 API https://github.com/containerd/containerd/tree/master/runtime/v2

keyingliu commented 5 years ago

We are running virtlet as VM on kubernetes solution, and it is in pre-prod stage. And get rid of criproxy is in our plan, we also had design about it. We consider to have a vm-shim-v2 that follows containerd shim v2 spec to launch VM. But at the OCI level, we may miss some necessary information to build a VM, we need the shim to communicate with virtlet daemonset pod to build whole libvirt xml domain. Will keep posted if we've done the implementation.

haosdent commented 5 years ago

@keyingliu Thank you very much for your reply. May you mind share your email? Or do you use wechat?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

pablochacin commented 5 years ago

Is this change still in the roadmap?

haosdent commented 5 years ago

we need the shim to communicate with virtlet daemonset pod to build whole libvirt xml domain.

@keyingliu Have you create an issue at https://github.com/containerd/containerd for this?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.