Re:Firecracker MicroVMs
by paxys on Monday October 18, 2021 @03:11PM
(#28910109)
Does anyone know of any good orchestrators for Firecracker VMs? While the technology is great, the CLI and API are still a bit too complex and low-level to implement some basic use cases in production.
[ Parent
| on HN ]
There's a firecracker driver for Hashi's Nomad. Haven't tried that driver, but nomad isn't bad.
https://www.nomadproject.io/docs/drivers/external/firecracke...
Re:Firecracker MicroVMs
by rad_gruchalski on Monday October 18, 2021 @07:22PM
(#28913105)
It has problems on shutdown and few months ago didn’t work properly with namespaces, haven’t checked recently. Can be worked around…
Re:Firecracker MicroVMs
by badLiveware on Monday October 18, 2021 @03:19PM
(#28910215)
Kubernetes using Kata containers[1] as a containerd[2] backend
[1] https://aws.amazon.com/blogs/opensource/kata-containers-1-5-...
[2] https://github.com/kata-containers/kata-containers/blob/main...
How does that compare to firecracker-containerd?
https://github.com/firecracker-microvm/firecracker-container...
This repository enables the use of a container runtime, containerd, to manage Firecracker microVMs. Like traditional containers, Firecracker microVMs offer fast start-up and shut-down and minimal overhead. Unlike traditional containers, however, they can provide an additional layer of isolation via the KVM hypervisor.
Take a look at Weaveworks Ignite for an open source tool for running Firecracker VMs from container images: https://github.com/weaveworks/ignite
And of course AWS Fargate and Lambda use this tech under the hood transparently, so that's always an option if you don't want to host and operate it yourself.
Ignite looked intruiging when I checked it out recently - but I need to import rootfs tarballs directly, without going through any registries. Any helpful pointers are appreciated :)
If you want some easy-to-hack --but very hackish-- shell scripts, you may find this interesting: https://ongres.com/blog/automation-to-run-vms-based-on-vanil...
Depending on what you want, OpenNebula (opennebula.io) has been making a thing of Firecracker.
Re:Firecracker MicroVMs
by rad_gruchalski on Monday October 18, 2021 @07:23PM
(#28913117)
I did this some months ago: https://github.com/combust-labs/firebuild. Plan is to come back to it sometime towards the end of the year.