Skip to content

Conversation

@danilrwx
Copy link
Contributor

@danilrwx danilrwx commented Nov 21, 2025

Description

Creating a VM clone from a snapshot is implemented by the VirtualMachineSnapshotOperation resource:

apiVersion: virtualization.deckhouse.io/v1alpha2
kind: VirtualMachineSnapshotOperation
metadata:
  name: vmsop
spec:
  type: CreateVirtualMachine
  virtualMachineSnapshotName: vm-snapshot
  createVirtualMachine:
    mode: Strict
    customization:
      nameSuffix: "suff"

What is the expected result?

New resource, which create VM from snapshot. Working GC for thats operations, logic same as VMOP Clone.

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: core
type: feature
summary: Add VirtualMachineSnapshotOperations.

@danilrwx danilrwx changed the base branch from main to feat/vmsop/clone-crds November 21, 2025 10:10
@danilrwx danilrwx marked this pull request as ready for review November 21, 2025 10:12
@danilrwx danilrwx added this to the v1.2.0 milestone Nov 21, 2025
@danilrwx danilrwx force-pushed the feat/vmsop/clone-e2e branch 3 times, most recently from b0dd3c0 to 82c0579 Compare November 21, 2025 10:30
@danilrwx danilrwx force-pushed the feat/vmsop/clone-crds branch from a5a817c to 3955cf8 Compare November 21, 2025 10:57
@danilrwx danilrwx force-pushed the feat/vmsop/clone-e2e branch from 82c0579 to 18619db Compare November 21, 2025 10:57
Base automatically changed from feat/vmsop/clone-crds to main November 24, 2025 11:49
@danilrwx danilrwx changed the base branch from main to feat/vmsop/clone-impl November 24, 2025 12:02
@danilrwx danilrwx force-pushed the feat/vmsop/clone-e2e branch from 18619db to 2ec893c Compare November 24, 2025 12:04
Base automatically changed from feat/vmsop/clone-impl to main November 24, 2025 13:16
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx force-pushed the feat/vmsop/clone-e2e branch from 2ec893c to 1c1dfaf Compare November 24, 2025 15:57
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
z9r5
z9r5 previously approved these changes Nov 26, 2025
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx requested a review from Isteb4k December 1, 2025 09:30
@danilrwx danilrwx merged commit f8b6c49 into main Dec 1, 2025
29 of 30 checks passed
@danilrwx danilrwx deleted the feat/vmsop/clone-e2e branch December 1, 2025 09:36
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.

4 participants