Skip to content

Conversation

@hardcoretime
Copy link
Contributor

@hardcoretime hardcoretime commented Jan 14, 2026

Description

A virtual machine can now be migrated to a particular node using the NodeSelector option in the virtual machine operation.

Why do we need it, and what problem does it solve?

This is required to enhance the user experience with virtual machine migration.

What is the expected result?

A virtual machine can be migrated to a particular node using defined labels.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vm
type: feature
summary: Added support for targeted migration of virtual machines. To do this, create a [VirtualMachineOperation](/modules/virtualization/cr.html#virtualmachineoperation) resource with the `Migrate` type and specify `.spec.migrate.nodeSelector` to migrate the virtual machine to the corresponding node.

@hardcoretime hardcoretime added this to the v1.5.0 milestone Jan 14, 2026
@hardcoretime hardcoretime force-pushed the feat/vm/add-target-migration branch 6 times, most recently from 065512f to cca7297 Compare January 19, 2026 16:42
@hardcoretime hardcoretime marked this pull request as ready for review January 19, 2026 16:58
z9r5
z9r5 previously approved these changes Jan 20, 2026
yaroslavborbat
yaroslavborbat previously approved these changes Jan 21, 2026
@hardcoretime hardcoretime force-pushed the feat/vm/add-target-migration branch 4 times, most recently from 6fe45ee to 1f02fd0 Compare January 21, 2026 23:16
Roman Sysoev and others added 20 commits February 5, 2026 13:57
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
- add default Alpine-BIOS virtual disk
- set the value to '20%' as the default in NewMinimalVM

Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
- replace nodeSelector with targetNodeName in d8 v migrate
- target migration is EE feature

Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Co-authored-by: Denis Rebenok <60424108+denmaloyreb@users.noreply.github.com>
Signed-off-by: Artem Kladov <6360800+z9r5@users.noreply.github.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
This is required in testing scenarios with EE version.

Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
@hardcoretime hardcoretime force-pushed the feat/vm/add-target-migration branch from 62aa333 to d08548b Compare February 5, 2026 10:58
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
@hardcoretime hardcoretime requested a review from Isteb4k February 5, 2026 11:30
Roman Sysoev added 2 commits February 5, 2026 14:37
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
@hardcoretime hardcoretime merged commit cd5e02a into main Feb 5, 2026
25 of 28 checks passed
@hardcoretime hardcoretime deleted the feat/vm/add-target-migration branch February 5, 2026 15:56
This was referenced Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants