Hello, I would really like to have the ability of...
# harvester
r
Hello, I would really like to have the ability of adding ISOs as cd-rom drives, to my VMs without the need to restart. I am using harvester 1.5.1, and found the kubevirt documentation about hotplug volumes. I enabled the
DeclarativeHotplugVolumes
flag in my harvester cluster and attempted to create a VM with an empty CD-ROM. The Kubevirt admission webhook promptly refuses my VM with the following error message:
Copy code
"admission webhook \"virtualmachine-validator.kubevirt.io\" denied the request: spec.template.spec.domain.devices.disks[3].Name 'cdrom-1' not found.
Is there any way I could achieve what I am trying to do in Harvester?
Answering my own question: this will not be possible until harvester is updated to use Kubevirt 1.6
The
DeclarativeHotplugVolumes
gate is not supported before Kubevirt 1.6
b
1.6.0 (Harvester) is running 1.5.2 KubeVirt.
So maybe 1.7.0, but who knows.
r
Thanks! Yes, I guess I will have to wait for the feature.