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

Kubevirt/openshift virtualization: howto #178

Open
abbbi opened this issue Apr 25, 2024 · 0 comments
Open

Kubevirt/openshift virtualization: howto #178

abbbi opened this issue Apr 25, 2024 · 0 comments
Labels
concept documentation Improvements or additions to documentation help wanted Extra attention is welcome

Comments

@abbbi
Copy link
Owner

abbbi commented Apr 25, 2024

As kubevirt/openshift virtualization uses libvirt/qemu, it should be possible to backup virtual machines too.
I dont have much experience with k8 but it seems what is required is a so called "sidecar" container that includes virtnbdbackup.

The concept would be:

  • kubevirt starts a pod (virt-launcher*) that includes libvirtd/qemu that executes a single virtual machine
  • alongside the virt-launcher* pod, another pod with virtnbdbackup included is executed that can then access the libvirtd daemon inside the virt-launcher pod.
  • the sidecar has some kind of PVC storage attached where the backup is stored.
  • backup is executed and written to PVC
  • sidecar pod quits operation

Link with an example sidecar:

https://blog.vmsplice.net/2024/03/how-to-access-libvirt-domains-in.html

@abbbi abbbi added enhancement New feature or request concept documentation Improvements or additions to documentation help wanted Extra attention is welcome and removed enhancement New feature or request labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept documentation Improvements or additions to documentation help wanted Extra attention is welcome
Projects
None yet
Development

No branches or pull requests

1 participant