aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.84k stars 89 forks source link

Implement the VmsService #439

Open JeroenSoeters opened 1 year ago

JeroenSoeters commented 1 year ago

We need a way to manage virtual machines in Aurae. The PodSandbox work can be layered on top of this: https://github.com/aurae-runtime/aurae/issues/433

JeroenSoeters commented 1 year ago

With a few small changes (https://github.com/aurae-runtime/aurae/pull/447) auraed is now running as true PID 1 in a VM spawned with cloud-hypervisor. The VM uses a custom kernel with PVH enabled so we can do a direct kernel boot instead of a full firmware boot. For this kernel I've borrowed cloud-hypervisor's config but with IPv6 enabled. We should review those kernel options. The binaries are being copied onto the disk image now after every build.

There are a few open questions for which we already have other issues:

Another big open question is how will we deploy the hypervisor(s) and which one(s) do we support.

JeroenSoeters commented 1 year ago

Apparently we had an open issue for the kernel discussion as well :)

https://github.com/aurae-runtime/aurae/issues/238