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

Start of QEMU K3s based CI #13

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Start of QEMU K3s based CI #13

wants to merge 7 commits into from

Conversation

richiejp
Copy link
Contributor

@richiejp richiejp commented Apr 5, 2024

One possible way to have CI with GPUs is to setup a VM with k3s and NVIDIA installed. Boot the VM with GPU
passthrough, run the tests, then rollback to a snapshot (delete the overlay we used).

It would be nice to script creating the VMs. Also in cases where VM is not QEMU or is not a VM we can just run
the generic portion of the tests. Copying the docker image into the container runtime is K3s specific, but it
could substituted for a repo.

  • script creating the initial VM images and generate SSH keys
  • script booting QEMU
  • script uploading the image to K3s containerd
  • GPU passthrough (will nested virt make it difficult?)
  • Integrate into Makefile

#9

@richiejp richiejp self-assigned this Apr 5, 2024
@richiejp richiejp added this to the Post Open Source milestone Apr 5, 2024
@richiejp richiejp added the enhancement New feature or request label Apr 5, 2024
@richiejp
Copy link
Contributor Author

Even without nested virt I have run into a weird issue: https://www.reddit.com/r/VFIO/comments/1c1aynj/qemu_or_ovmf_efi_firmware_hangs_with_no_output/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant