This feature is actively developed. It might significantly change in the future.

How to apply changes to the virtual machine spec?

Currently, changes to the VM specification are not applied to running instances automatically. To apply the changes, delete the running VM instance:

kubectl delete virtualmachineinstance <vmName>

The newly created VM instance will include all the latest changes from the VirtualMachine custom resource.

How to store an image in the registry

To store an image in the registry, you need to build a docker image with one /disk directory in which you should put an image with an arbitrary name. The image can be in either qcow2 or raw format.

Example of a Dockerfile:

FROM scratch
ADD /disk/jammy-server-cloudimg-amd64.img