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.

Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx changed the base branch from main to feat/vmsop/clone November 21, 2025 10:12
@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
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx changed the base branch from feat/vmsop/clone to main November 21, 2025 10:31
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx force-pushed the feat/vmsop/clone-crds branch from a5a817c to 3955cf8 Compare November 21, 2025 10:57
@z9r5 z9r5 requested a review from MargaretKozlova November 24, 2025 08:10
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx merged commit 26810ef into main Nov 24, 2025
27 of 28 checks passed
@danilrwx danilrwx deleted the feat/vmsop/clone-crds branch November 24, 2025 11:49
@MargaretKozlova MargaretKozlova requested review from prismagod and removed request for MargaretKozlova and prismagod November 26, 2025 09:24
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