Skip to content
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

Add support for firecracker vms in addition to qemu/kvm #52

Open
mrchrisadams opened this issue Jan 12, 2021 · 1 comment
Open

Add support for firecracker vms in addition to qemu/kvm #52

mrchrisadams opened this issue Jan 12, 2021 · 1 comment
Labels
enhancement New feature or request Hacktoberfest Issues ready to welcome contributors from Hacktoberfest ! help wanted Extra attention is needed
Projects

Comments

@mrchrisadams
Copy link
Contributor

Problem

If you are using other virtualisation technology like Firecracker, you can't use scaphandre to get an understanding of the power draw from the VMs you spin up that use it.

Firecracker is in used in a lot of places - in addition Amazon's own Serverless offerings, it's in all the options below:

Firecracker is used by/integrated with (in alphabetical order): appfleet , containerd via firecracker-containerd , Fly.io , Kata Containers , OpenNebula , UniK , and Weave FireKube (via Weave Ignite ). Firecracker can run Linux and OSv guests.

Solution

Figure out a way to expose the same kind of information to guest micro-vms as that scaphandre exposes to vms using qemu/kvm like in qemu.rs

/// An Exporter that extracts power consumption data of running
/// Qemu/KVM virtual machines on the host and store those data
/// as folders and files that are supposed to be mounted on the
/// guest/virtual machines. This allow users of the virtual machines
/// to collect and deal with their power consumption metrics, the same way
/// they would do it if they managed bare metal machines.

Alternatives

Additional context

Firecracker uses KVM too, so presumably the approaches used to expose filesystems and info to guest micro-vms, isn't conceptually that different to Scaphandre.

https://github.com/firecracker-microvm/firecracker/blob/master/docs/getting-started.md#prerequisites
https://github.com/firecracker-microvm/firecracker/blob/master/docs/dev-machine-setup.md

Further details about what scaphandre exposes for kvm/qemu based machines is detailed in the qemu exporter docs:

https://github.com/hubblo-org/scaphandre/blob/main/docs_src/references/exporter-qemu.md

@mrchrisadams mrchrisadams added the enhancement New feature or request label Jan 12, 2021
@bpetit bpetit added this to Triage in General Jan 12, 2021
@bpetit bpetit added the help wanted Extra attention is needed label Jan 12, 2021
@bpetit
Copy link
Contributor

bpetit commented Jan 14, 2021

That is very interesting. I may work on this in march the soonest. If someone wants to jump on it before that, please do ! 😊

@bpetit bpetit added the Hacktoberfest Issues ready to welcome contributors from Hacktoberfest ! label Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest Issues ready to welcome contributors from Hacktoberfest ! help wanted Extra attention is needed
Projects
General
Triage
Development

No branches or pull requests

2 participants