KubeVirt Provider

The KubeVirt provider is the reference implementation for Conformance EE’s provider system. It handles infrastructure discovery and spec generation for KubeVirt-based clusters.

Infrastructure Discovery

The provider queries the KubeVirt infrastructure cluster to enumerate available resources:

ResourceAPI GroupDescription
VPCskubeovn.io/v1Virtual private cloud networks
Subnetskubeovn.io/v1Network subnets (paired with parent VPC)
StorageClassesstorage.k8s.io/v1Available storage backends
Instance Typesinstancetype.kubevirt.io/v1beta1VirtualMachineInstancetype resources
Preferencesinstancetype.kubevirt.io/v1beta1VirtualMachinePreference resources

These discovered resources are converted into dynamic modifiers that expand the test matrix based on what’s actually available in the target environment.

Supported Distributions

The KubeVirt provider supports the following OS distributions for virtual machine disks:

DistributionSupported Versions
Ubuntu20.04, 22.04
RHEL8, 9
Flatcar3374.2.2
Rocky Linux8, 9

Custom image sources can be configured via the imageSources field in the configuration file.