Releases: deckhouse/virtualization
v1.3.0
Changelog v1.3.0
Features
- [vmclass] Added the
.spec.sizingPolicies.defaultCoreFractionfield to theVirtualMachineClassresource, allowing you to set the defaultcoreFractionfor virtual machines that use this class. #1783 - [vmop] Add type for d8_virtualization_virtualmachineoperation_status_phase VMOP metric. #1803
Fixes
- [images] Added the ability to use system nodes to create project and cluster images. #1747
- [observability] Fixed the display of virtual machine charts in clusters running in HA mode. #1801
- [vd] Fixed an issue with restoring labels and annotations on a disk created from a snapshot. #1776
- [vd] Accelerated disk attachment in
WaitForFirstConsumermode for virtual machines. #1516
For more information, see the changelog and minor version release changes.
v1.2.2
Changelog v1.2.2
Fixes
- [module] Fixed RBAC access permissions for the
d8:use:role:userrole that prevented it from managing the VirtualMachineOperation resource. #1794
For more information, see the changelog and minor version release changes.
v1.2.1
Changelog v1.2.1
Fixes
- [module] The deprecated part of the configuration has been removed, which could have prevented the virtualization module from upgrading in clusters running Kubernetes version 1.34 and above. #1771
For more information, see the changelog and minor version release changes.
v1.2.0
Changelog v1.2.0
Features
- [core] Added the
VirtualMachineSnapshotOperationresource for creating a virtual machine based on aVirtualMachineSnapshot. #1727 - [module] Added the ability to clean up DVCR from non-existent project and cluster images:
- By default, this feature is disabled.
- To enable cleanup, set a schedule in the module settings:
.spec.settings.dvcr.gc.schedule. #1688
- [module] Added validation for the virtualization ModuleConfig that prevents decreasing the DVCR storage size and changing its StorageClass. #1628
- [module] Improved audit events by using more informative messages that include virtual machine names and user information. #1611
- [observability] Added new metrics for disks:
d8_virtualization_virtualdisk_capacity_bytes: Metric showing the disk size.d8_virtualization_virtualdisk_info: Metric with information about the disk configuration.d8_virtualization_virtualdisk_status_inuse: Metric showing the current use of the disk by a virtual machine or for creating other block devices. #1592
- [vmbda] Added detailed error output in the
Attachedcondition of theVirtualMachineBlockDeviceAttachmentresource when a block device is unavailable on the virtual machine node. #1561 - [vmclass] For the
VirtualMachineClassresource, versionv1alpha2is deprecated. Use versionv1alpha3instead:- In version
v1alpha3, the.spec.sizingPolicies.coreFractionfield is now a string with a percentage (for example, "50%"), similar to the field in a virtual machine. #1601
- In version
- [vmrestore] The
VirtualMachineRestoreresource is deprecated. Use the following resources instead:VirtualMachineOperationwith typeClone: For cloning an existing virtual machine.VirtualMachineOperationwith typeRestore: For restoring an existing virtual machine to a state from a snapshot.VirtualMachineSnapshotOperation: For creating a new virtual machine based on a snapshot. #1631
Fixes
- [core] add missing libraries to virt-launcher build #1761
- [core] Fixed the MethodNotAllowed error for patch and watch operations when querying the
VirtualMachineClassresource via command-line utilities (d8 k, kubectl). #1666 - [images] Fixed an issue that prevented deleting
VirtualImageandClusterVirtualImageresources for a stopped virtual machine. #1669 - [module] Fixed RBAC for the
userandeditorcluster roles. #1749 - [module] Fixed the
D8VirtualizationVirtualMachineFirmwareOutOfDatealert, which could be duplicated when virtualization runs in HA mode. #1739 - [module] Added the ability to modify or delete the
VirtualMachineClassresource named "generic". The virtualization module will no longer restore it to its original state. #1597 - [vdsnapshot] Fixed an error that could lead to inconsistencies between
VirtualMachineSnapshotandVirtualDiskSnapshotresources when creating a snapshot of a virtual machine with multiple disks. #1668
Chore
- [core] Fixed vulnerability CVE-2025-64324. #1702
For more information, see the changelog and minor version release changes.
v1.1.3
Changelog v1.1.3
Features
- [module] The virtual machine overview dashboards ('Namespace / Virtual Machine' and 'Namespace / Virtual Machines') have been improved, in addition to the cluster level, they are now also available at the project level. #1603
Fixes
- [module] Fixed CVE-2025-64324, CVE-2025-64435, CVE-2025-64436, CVE-2025-58183, CVE-2025-58186, CVE-2025-58187, CVE-2025-58188, CVE-2025-52565, CVE-2025-52881, CVE-2025-31133. #1701
For more information, see the changelog and minor version release changes.
v1.1.2
Changelog v1.1.2
Fixes
- [vd] Fixed live disk migration between storage classes using different drivers. Limitations:
- Migration between
BlockandFilesystemis not supported. Only migrations between the same volume modes are allowed: fromBlocktoBlockand fromFilesystemtoFilesystem. #1613
- Migration between
- [vm] In the
Migratingstate, detailed error information is now displayed when a live migration of a virtual machine fails. #1569
For more information, see the changelog and minor version release changes.
v1.1.1
Changelog v1.1.1
Fixes
- [core] Fixed an issue in containerdv2 where storage providing a PVC with the FileSystem type was incorrectly attached via
VirtualMachineBlockDeviceAttachment. #1548 - [core] Added error reporting in the status of disks and images when the data source (URL) is unavailable. #1534
- [module] fix CVE-2025-58058 and CVE-2025-54410 #1572
- [vi] When creating virtual images from virtual disk snapshots, the
spec.persistentVolumeClaim.storageClassNameparameter is now respected. Previously, it could be ignored. #1533 - [vm] Fixed the
NetworkReadycondition output. It no longer shows theUnknownstate and appears only when needed. #1567 - [vm] Prohibit duplicate networks in the virtual machine
.spec.networkspecification. #1545 - [vmbda] Fixed a bug where, when detaching a virtual image through
VirtualMachineBlockDeviceAttachment, the resource could get stuck in the Terminating state. #1542 - [vmip] Added validation for static IP addresses to avoid creating a
VirtualMachineIPAddressresource with an IP already in use in the cluster. #1530
Chore
- [observability] Added Prometheus metrics for virtual machine snapshots (
d8_virtualization_virtualmachinesnapshot_info) and virtual disk snapshots (d8_virtualization_virtualdisksnapshot_info), showing which objects they are associated with. #1555
For more information, see the changelog and minor version release changes.
v1.1.0
Changelog v1.1.0
Features
-
[module] Added the
D8VirtualizationDVCRInsufficientCapacityRiskalert, which warns of the risk of insufficient free space in the virtual machine image storage (DVCR). #1461 -
[module] Added the
KubeNodeAwaitingVirtualMachinesEvictionBeforeShutdownalert, which is triggered when the node hosting the virtual machines is about to shut down but VM evacuation is not yet complete. #1268 -
[vm] Added the ability to migrate VMs using disks on local storage. Restrictions:
- The feature is not available in the CE edition.
- Migration is only possible for running VMs (
phase: Running). - Migration of VMs with local disks connected via
VirtualMachineBlockDeviceAttachment(hotplug) is not supported yet.
Added the ability to migrate storage for VM disks (change
StorageClass). Restrictions:- The feature is not available in the CE edition.
- Migration is only possible for running VMs (
phase: Running). - Storage migration for disks connected via
VirtualMachineBlockDeviceAttachment(hotplug) is not supported yet. #1360
-
[vmop] Added an operation with the
Clonetype to create a clone of a VM from an existing VM (VirtualMachineOperation.spec.type: Clone). #1418
Fixes
- [observability] Fixed the graph on the virtual machine dashboard that displays memory copy statistics during VM migration. #1474
- [vd] respect user-specified storage class when restoring from snapshot #1417
- [vmclass] Use qemu64 CPU model for Discovery and Features types to fix nested virtualization on AMD hosts #1446
- [vmop] Fix the problem where a disk that in the "Terminating" phase was wrongly added to kvvm's volumes during a restore operation in Strict mode. #1493
- [vmop] Fixed garbage collector behavior: previously, all VMOP objects were deleted after restarting the virtualization controller, ignoring cleanup rules. #1471
For more information, see the changelog and minor version release changes.
v1.0.0
Changelog v1.0.0
Features
- [api] add metadata preservation for VirtualDisk #1426
- [core] Add VM restore feature using new type Restore for VirtualMachineOperation #1307
Fixes
- [api] Fixed kubebuilder annotations to generate CRDs with correct categories and short names. #1421
- [core] fix CVE-2025-47907 #1413
- [vd] Set disk to failed when image pull fails from registry #1400
- [vm] fix
coresandcoreFractionvalidation in sizing policy #1420 - [vm] fix incorrect data encoding during snapshot creation and restoration by removing redundant base64 encoding when storing JSON in Kubernetes Secrets. #1419
- [vm] fix message in NetworkReady condition #1414
- [vm] Add display of
.status.networkif.spec.networkis empty #1412 - [vm] Block network spec changes when SDN feature gate is disabled #1408
Chore
- [api] Updated CRD short names to remove plural forms and reorganized resource categories. #1407
- [core] Reduce kubevirt components restarts. #1449
- [module] Reduce module restarts during installation. #1445
- [module] Support "in-cluster" upload when publicDomainTemplate is empty. #1440
- [vm] Check is first block device bootable. #1359
For more information, see the changelog and minor version release changes.
v0.25.0
Changelog v0.25.0
Know before update
- In version v0.25.0, support for the module's operation with CRI Containerd V2 has been added.
After upgrading CRI from Containerd v1 to Containerd v2, it is necessary to recreate the images that were created using virtualization module version v0.24.0 and earlier.
Features
- [core] In version v0.25.0, support for the module's operation with CRI Containerd V2 has been added. #1395
In version v0.25.0, support for the module's operation with CRI Containerd V2 has been added.
After upgrading CRI from Containerd v1 to Containerd v2, it is necessary to recreate the images that were created using virtualization module version v0.24.0 and earlier. - [observability] New Prometheus metrics have been added to track the phase of resources such as
VirtualMachineSnapshot,VirtualDiskSnapshot,VirtualImage, andClusterVirtualImage. #1356 - [vm] MAC address management for additional network interfaces has been added using the
VirtualMachineMACAddressandVirtualMachineMACAddressLeaseresources. #1350 - [vm] Added the ability to attach additional network interfaces to a virtual machine for networks provided by the SDN module. For this, the SDN module must be enabled in the cluster. #1253
- [vmclass] An annotation has been added to set the default VirtualMachineClass.
To designate aVirtualMachineClassas the default, you need to add the annotation
virtualmachineclass.virtualization.deckhouse.io/is-default-class=trueto it.
This allows creating VMs with an emptyspec.virtualMachineClassNamefield, which will be automatically filled with the default class. #1305
Fixes
- [module] Added validation to ensure that virtual machine subnets do not overlap with system subnets (podSubnetCIDR and serviceSubnetCIDR). #1324
- [vi] To create a virtual image on a
PersistentVolumeClaim, the storage must support the RWX and Block modes; otherwise, a warning will be displayed. #1289 - [vm] Fixed an issue where changing the operating system type caused the machine to enter a reboot loop. #1358
- [vm] Fixed an issue where a virtual machine would hang in the Starting phase when project quotas were insufficient. A quota shortage message will now be displayed in the virtual machine's status. To allow the machine to continue starting, the project quotas need to be increased. #1314
For more information, see the changelog and minor version release changes.