You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new "kubevirt" platform to kola for testing CoreOS on KubeVirt VMs.
This enables end-to-end testing of afterburn's KubeVirt metadata provider,
supporting both ConfigDrive and NoCloud cloud-init types.
Platform implementation:
- API wrapper using controller-runtime client + kubevirt.io/api types
(lightweight alternative to kubevirt.io/client-go)
- SSH access via WebSocket port-forward through the KubeVirt API server
(no virtctl binary dependency)
- containerDisk support for FCOS images (cosa already builds these)
- Per-test CloudInitType and NetworkData via MachineOptions
External test framework:
- Detect network_data.json in test dir -> ConfigDrive cloud-init type
- Detect network-config in test dir -> NoCloud cloud-init type
- File naming follows real-world conventions (OpenStack / cloud-init)
- Error if both files present in the same test directory
- Silently ignored on platforms that don't support network data
New CLI flags:
--kubevirt-kubeconfig, --kubevirt-namespace, --kubevirt-image,
--kubevirt-cloud-init-type, --kubevirt-memory, --kubevirt-cpus
New tests:
fcos.metadata.kubevirt.configdrive
fcos.metadata.kubevirt.nocloud
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments