-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor "Pod Sandbox" to use Virtualization #436
Comments
I think this example should give us what we need to run a simple linux kernel and schedule |
So here is where I think we start.
It looks like we can pass Boot Arguments and Init Arguments to the linux loader crate which gives us the ability to define our init process similar to any bootloader. We can hook in here and generate the string to boot a nested auraed as a guest for a pod. |
I was going to take a shot at this. Wondering, though, if it makes sense to just implement the VmsService and then build the |
Issue for VmsService which we can then leverage for the "Pod Sandbox": #439 |
Can we maybe create a good abstraction so we can replace the virtualization implementation later on? |
I think staying out of the hyper visor details is a good move for right now -- I do think it should remain compiled into the auraed binary -- but ideally we should be able to consider other hypervisor implementations at compile time |
The more I look at the FC code, the more I do not want to implement our own hypervisor :) I will create an RFC once I have better organized my thoughts around this topic. I'm currently exploring Dragonball, which might or might not suit our needs better. https://github.com/kata-containers/kata-containers/tree/main/src/dragonball
This is what kata containers does as well, they abstract the hypervisor and make it pluggable. |
@JeroenSoeters what do you think about using cloud-hypervisor for this? |
Last time I looked at this cloud-hypervisor seemed like the best choice yea because of what you mention as well as |
looks like we've started landing on cloud-hypervisor (which is good). once that's in place we should circle back to the Pod service per the original issue. |
We need to form an opinion on which virtualization library to use, as mentioned in #433.
Options that I am aware of:
After we establish a way of running a virtualized workload we need to replace the current pod sandbox implementation detail with two things:
init
crate that allows us to detect if virtualization is possible at runtime.The text was updated successfully, but these errors were encountered: