Kube Virt
This feature is available in the vCluster Pro tier. Contact us for more details and to start a trial.
vCluster offers the possibility to reuse a KubeVirt installation of the host cluster within the vCluster.
vCluster is able to sync KubeVirt resources from the vCluster to the host cluster and allows you to use virtctl
within the vCluster.
Enable KubeVirt Integration​
To enable the integration, use the following configuration inside your vcluster.yaml
:
integrations:
kubeVirt:
enabled: true
# If you want vCluster to sync data volumes as well.
#sync:
# dataVolumes:
# enabled: true
Next you can deploy and use KubeVirt resources inside the vCluster which will be synced to the host cluster.
Sync DataVolumes​
In order to sync KubeVirt DataVolumes, please make sure to install the KubeVirt Containerized Data Importer. Then enable the following setting in the vcluster.yaml
:
integrations:
kubeVirt:
enabled: true
sync:
dataVolumes:
enabled: true
After vCluster restarts, the DataVolumes
CRD should be visible within the vCluster.
Limitations​
vCluster currently only supports syncing and using the following resources inside the vCluster:
VirtualMachine
VirtualMachineInstance
VirtualMachinePool
VirtualMachineClone
DataVolume
(needs to be enabled viaintegrations.kubeVirt.sync.dataVolumes.enabled
)
The following virtctl commands are supported:
virtctl start
virtctl stop
virtctl migrate
virtctl ssh
virtctl vnc
virtctl pause
virtctl unpause
virtctl scp
virtctl restart
virtctl port-forward
virtctl console
Config reference​
kubeVirt
required object pro​
KubeVirt reuses a host kubevirt and makes certain CRDs from it available inside the vCluster
kubeVirt
required object pro​enabled
required boolean false pro​
Enabled signals if the integration should be enabled
enabled
required boolean false pro​apiService
required object pro​
APIService holds information about where to find the virt-api service. Defaults to virt-api/kubevirt.
apiService
required object pro​service
required object pro​
Service is a reference to the service for the API server.
service
required object pro​webhook
required object pro​
Webhook holds configuration for enabling the webhook within the vCluster
webhook
required object pro​enabled
required boolean true pro​
Enabled defines if this option should be enabled.
enabled
required boolean true pro​sync
required object pro​
Sync holds configuration on what resources to sync
sync
required object pro​dataVolumes
required object pro​
If DataVolumes should get synced
dataVolumes
required object pro​enabled
required boolean false pro​
Enabled defines if this option should be enabled.
enabled
required boolean false pro​virtualMachineInstanceMigrations
required object pro​
If VirtualMachineInstanceMigrations should get synced
virtualMachineInstanceMigrations
required object pro​enabled
required boolean true pro​
Enabled defines if this option should be enabled.
enabled
required boolean true pro​virtualMachineInstances
required object pro​
If VirtualMachineInstances should get synced
virtualMachineInstances
required object pro​enabled
required boolean true pro​
Enabled defines if this option should be enabled.
enabled
required boolean true pro​virtualMachines
required object pro​
If VirtualMachines should get synced
virtualMachines
required object pro​enabled
required boolean true pro​
Enabled defines if this option should be enabled.
enabled
required boolean true pro​