abbbi / abbbi/virtnbdbackup

Kubevirt/openshift virtualization: howto

Aperta
#178 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
concept documentation help wanted
Lingua principale
Python
Stelle
518
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.