KubeVirt: Difference between revisions
(Created page with "KubeVirt lets you setup and manage virtual machines on your kubernetes cluster. ==Install== See [https://kubevirt.io/user-guide/operations/installation/ installation] <syntaxhighlight lang="bash"> # Get the latest version string export VERSION=$(curl -s https://api.github.com/repos/kubevirt/kubevirt/releases | grep tag_name | grep -v -- '-rc' | sort -r | head -1 | awk -F': ' '{print $2}' | sed 's/,//' | xargs) echo $VERSION # Deploy operator kubectl create -f https://g...") |
No edit summary |
||
Line 1: | Line 1: | ||
KubeVirt lets you setup and manage virtual machines on your kubernetes cluster. | KubeVirt lets you setup and manage virtual machines on your kubernetes cluster. | ||
==Install== | ==Getting Started== | ||
===Background=== | |||
KubeVirt creates two new types of resources on your cluster: <code>VirtualMachine</code> (vm) and <code>VirtualMachineInstance</code> (vmi). | |||
<code>VirtualMachine</code> defines how to create VMIs. <code>VirtualMachineInstance</code> represent a running virtual machine. | |||
Similar to deployments-pods, you will typically not create <code>VirtualMachineInstance</code> manually. | |||
Instead you define <code>VirtualMachine</code> in your manifests and control them using <code>virtctl</code>. Then KubeVirt will automatically create <code>VirtualMachineInstance</code>. | |||
===Requirements=== | |||
See [https://kubevirt.io/user-guide/operations/installation/#requirements requirements]<br> | |||
* You need a kubernetes cluster with <code>kubectl</code> set up. | |||
* You do '''not''' need to install <code>qemu-kvm libvirt-daemon-system</code> on the nodes. | |||
===Install KubeVirt=== | |||
See [https://kubevirt.io/user-guide/operations/installation/ installation] | See [https://kubevirt.io/user-guide/operations/installation/ installation] | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 21: | Line 34: | ||
sudo install virtctl /usr/local/bin | sudo install virtctl /usr/local/bin | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Creating a VM=== | |||
====Loading ISOs into the cluster==== | |||
====Windows==== | |||
==Resources== | |||
* [https://kubevirt.io/2021/intel-vgpu-kubevirt.html#fedora-workstation-prep intel-vgpu-kubevirt] |