ignite
ignite copied to clipboard
Enable nested-virtualization
Is Nested Virtualization supported, where we can start VMs inside ignites' microVMs? If yes how can it be enabled?
@Mulham-Raee yes, nested KVM does work. We had a use in Slack talking about this very recently. https://weave-community.slack.com/archives/CL1A4S5UJ/p1627835730000600
It looks like all that is required is to enable the KVM kernel config options in ignite's kernel build. See the docs here.
We don't currently publish KVM capable kernels with the project, but it's definitely something anybody can push to a public registry :)
Slack thread:
Talha Zubair Aug 1st at 10:35 AM Hi does anyone have an ignite compatible kernel with kvm enabled? Im trying to enable nested virtualization inside the ignite vm.
Talha Zubair 15 days ago Compiled it from source and got it to work
chris 14 days ago Very cool! I wasn’t sure if /dev/kvm was made available from firecracker.thanks for confirming
stealthybox 14 days ago @Talha Zubair if you have a guide for this, it would be awesome -- are you doing ignite in ignite or something like katacontainers?
Talha Zubair 14 days ago Yes chris /dev/kvm is available inside the ignite vm if kvm is enabled in the kernel. stealthybox sure ill share a guide soon once im done experimenting. I successfully ran a kvm linux machine inside an ignite container.
sudo qemu-system-x86_64 -enable-kvm -hda debian_squeeze_amd64_standard.qcow2 -m 512 -curses
Running lxd however was giving some unrelated errors. Im going to debug those and share the findings. (Probably some kernel config issue)
@stealthybox thanks for the info. Could you please invite me to the slack community ([email protected]). the link https://slack.weave.works/ is broken and doesn't allow me to request an invitation.
Ah! does this app get you an invite? I just got it a few links down on Google: https://weaveworks.github.io/community-slack/
Also not working, I get Error! 'error'
when I click Join :)
@Mulham-Raee Can you try this https://join.slack.com/t/weave-community/shared_invite/zt-u6mn5bdh-kapvABTU7Lfzw0FZM7WWAA - this invite may be valid for 24 days only.
Thank you, I managed to get in :)