Skip to content

feat(virtualization): add migrate subcommand#283

Merged
ldmonster merged 2 commits intomainfrom
feat/virtualization/add-migrate-subcommand
Feb 19, 2026
Merged

feat(virtualization): add migrate subcommand#283
ldmonster merged 2 commits intomainfrom
feat/virtualization/add-migrate-subcommand

Conversation

@hardcoretime
Copy link
Contributor

@hardcoretime hardcoretime commented Feb 17, 2026

Version Bump: Updated Go packages from v1.4.0 to v1.5.1:

  • github.com/deckhouse/virtualization/src/cli
  • github.com/deckhouse/virtualization/api

New Command: Added a new command for d8 v (virtualization): migrate

d8 v migrate --help
Migrate a virtual machine.

Usage:
  d8 v migrate (VirtualMachine) [flags]

Examples:
 # Migrate VirtualMachine 'myvm':
  d8 v migrate myvm
  d8 v migrate myvm.mynamespace
  d8 v migrate myvm -n mynamespace
  # Configure one minute timeout (default: timeout=5m0s)
  d8 v migrate --timeout=1m myvm
  # Configure wait vm phase (default: wait=false)
  d8 v migrate --wait myvm

Flags:
  -c, --create-only               Set this flag to only create the action without status warnings or notifications.
  -f, --force                     Set this flag to force the operation.
  -h, --help                      help for migrate
      --target-node-name string   Set the target node name for virtual machine migration.
  -t, --timeout duration          Set this flag to change the timeout. (default 5m0s)
  -w, --wait                      Set this flag to wait for the operation to complete.

Use "d8 v options" for a list of global command-line options (applies to all commands).

Signed-off-by: Roman Sysoev <roman.sysoev@flant.com>
@riptide-01 riptide-01 self-requested a review February 19, 2026 08:02
@ldmonster ldmonster merged commit a1c367b into main Feb 19, 2026
5 checks passed
@ldmonster ldmonster deleted the feat/virtualization/add-migrate-subcommand branch February 19, 2026 08:14
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.

3 participants

Comments