[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC DOCUMENT 06/12] kubevirt-and-kvm: Add Live Migration page
From: |
Andrea Bolognani |
Subject: |
[RFC DOCUMENT 06/12] kubevirt-and-kvm: Add Live Migration page |
Date: |
Wed, 16 Sep 2020 18:51:21 +0200 |
User-agent: |
Evolution 3.36.5 (3.36.5-1.fc32) |
https://gitlab.com/abologna/kubevirt-and-kvm/-/blob/master/Live-Migration.md
# Live Migration
There are two scenarios where live migration is triggered in KubeVirt
* As per user request, by posting a `VirtualMachineInstanceMigration`
to the cluster
* As per cluster request, for instance on a Node eviction (due lack
of resources or maintenance of given Node)
In both situations, KubeVirt will use libvirt to handle logic and
coordination with QEMU while KubeVirt's components manage the
Kubernetes control plane and the cluster's limitations.
In short, KubeVirt:
* Checks if the target host is capable of migration of the given VM;
* Handles single network namespace per Pod by proxying migration data
(more at [Networking][])
* Handles cluster resources usage (e.g: bandwidth usage);
* Handles cross-version migration;
![Live migration between two nodes][Live-Migration-Flow]
## Limitations
Live migration is not possible if:
* The VM is configured with cpu-passthrough;
* The VM has local or non-shared volume
* The Pod is using bridge binding for network access (right side of
image below)
![Kubevirt's Pod][Live-Migration-Network]
## More on KubeVirt's Live migration
This blog [post on live migration][] explains how to have live
migration enabled in KubeVirt's VMs and describes some of its
caveats.
[Live-Migration-Flow]:
https://gitlab.com/abologna/kubevirt-and-kvm/-/blob/master/Images/Live-Migration-Flow.png
[Live-Migration-Network]:
https://gitlab.com/abologna/kubevirt-and-kvm/-/blob/master/Images/Live-Migration-Network.png
[Networking]:
https://gitlab.com/abologna/kubevirt-and-kvm/-/blob/master/Networking.md
[post on live migration]: https://kubevirt.io/2020/Live-migration.html
- [RFC DOCUMENT 00/12] kubevirt-and-kvm: Add documents, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 01/12] kubevirt-and-kvm: Add Index page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 02/12] kubevirt-and-kvm: Add Components page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 03/12] kubevirt-and-kvm: Add Hotplug page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 04/12] kubevirt-and-kvm: Add Storage page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 05/12] kubevirt-and-kvm: Add Networking page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 06/12] kubevirt-and-kvm: Add Live Migration page,
Andrea Bolognani <=
- [RFC DOCUMENT 07/12] kubevirt-and-kvm: Add CPU Pinning page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 08/12] kubevirt-and-kvm: Add NUMA Pinning page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 09/12] kubevirt-and-kvm: Add Isolation page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 10/12] kubevirt-and-kvm: Add Upgrades page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 11/12] kubevirt-and-kvm: Add Backpropagation page, Andrea Bolognani, 2020/09/16
- [RFC DOCUMENT 12/12] kubevirt-and-kvm: Add Contacts page, Andrea Bolognani, 2020/09/16
- Re: [RFC DOCUMENT 00/12] kubevirt-and-kvm: Add documents, Philippe Mathieu-Daudé, 2020/09/22