virtualization
virtualization copied to clipboard
feat(vmsop): clone e2e tests
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
- [x] The code is covered by unit tests.
- [ ] e2e tests passed.
- [ ] Documentation updated according to the changes.
- [x] Changes were tested in the Kubernetes cluster manually.
Changelog entries
section: core
type: feature
summary: Add VirtualMachineSnapshotOperations.