Skip to content

Commit f05fa98

Browse files
authored
Merge pull request #71208 from aspauldi/CNV-35207_1
CNV-35207_1: [Docs] Cloning from cached snapshots in UI
2 parents 4d09ea5 + 77935e0 commit f05fa98

File tree

6 files changed

+56
-8
lines changed

6 files changed

+56
-8
lines changed

modules/virt-about-vm-snapshots.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The snapshot stores a copy of each Container Storage Interface (CSI) volume atta
1818
You can perform the following snapshot actions:
1919

2020
* Create a new snapshot
21+
* Create a copy of a virtual machine from a snapshot
2122
* List all snapshots attached to a specific VM
2223
* Restore a VM from a snapshot
2324
* Delete an existing VM snapshot

modules/virt-cloning-vm-snapshot.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/creating_vms_rh/creating-vms-from-instance-types.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-cloning-vm-snapshot_{context}"]
7+
= Cloning a VM by using the web console
8+
9+
You can clone an existing VM by using the web console.
10+
11+
.Procedure
12+
13+
. Navigate to *Virtualization* -> *VirtualMachines* in the web console.
14+
. Select a VM to open the *VirtualMachine details* page.
15+
. Click *Actions*.
16+
. Select *Clone*.
17+
. On the *Clone VirtualMachine* page, enter the name of the new VM.
18+
. (Optional) Select the *Start cloned VM* checkbox to start the cloned VM.
19+
. Click *Clone*.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/creating_vms_rh/creating-vms-from-instance-types.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-creating-vm-from-snapshot-web_{context}"]
7+
= Creating a VM from an existing snapshot by using the web console
8+
9+
You can create a new VM by copying an existing snapshot.
10+
11+
.Procedure
12+
13+
. Navigate to *Virtualization* -> *VirtualMachines* in the web console.
14+
. Select a VM to open the *VirtualMachine details* page.
15+
. Click the *Snapshots* tab.
16+
. Click the actions menu {kebab} for the snapshot you want to copy.
17+
. Select *Create VirtualMachine*.
18+
. Enter the name of the virtual machine.
19+
. (Optional) Select the *Start this VirtualMachine after creation* checkbox to start the new virtual machine.
20+
. Click *Create*.

modules/virt-creating-vm-instancetype.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endif::[]
2121
= {title} from an instance type
2222

2323
ifdef::virt-create-vms[]
24-
You can create a virtual machine (VM) from an instance type by using the {product-title} web console.
24+
You can create a virtual machine (VM) from an instance type by using the {product-title} web console. You can also use the web console to create a VM by copying an existing snapshot or to clone a VM.
2525
endif::[]
2626
ifdef::static-key[]
2727
You can add a statically managed SSH key when you create a virtual machine (VM) from an instance type by using the {product-title} web console. The key is added to the VM as a cloud-init data source at first boot. This method does not affect cloud-init user data.
@@ -40,13 +40,18 @@ endif::[]
4040
.Procedure
4141

4242
. In the web console, navigate to *Virtualization* -> *Catalog* and click the *InstanceTypes* tab.
43-
. Select a bootable volume.
43+
. Select either of the following options:
44+
* Select a bootable volume.
4445
+
4546
[NOTE]
4647
====
47-
The volume table only lists volumes in the `openshift-virtualization-os-images` namespace that have the `instancetype.kubevirt.io/default-preference` label.
48+
The bootable volume table lists only those volumes in the `openshift-virtualization-os-images` namespace that have the `instancetype.kubevirt.io/default-preference` label.
4849
====
49-
.. Optional: Click the star icon to designate a bootable volume as a favorite. Starred bootable volumes appear first in the volume list.
50+
+
51+
** Optional: Click the star icon to designate a bootable volume as a favorite. Starred bootable volumes appear first in the volume list.
52+
53+
* Click *Add volume* to upload a new volume or use an existing persistent volume claim (PVC), volume snapshot, or data source. Then click *Save*.
54+
5055
5156
ifdef::virt-create-vms[]
5257
. Click an instance type tile and select the resource size appropriate for your workload.

virt/getting_started/virt-web-console-overview.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ By default, Red Hat templates are stored in the `openshift` project. You can edi
388388
You create a virtual machine from an instance type on the *InstanceTypes* tab.
389389

390390
:FeatureName: Creating a virtual machine from an instance type
391-
include::snippets/technology-preview.adoc[]
392391

393392
[%collapsible]
394393
=====
@@ -973,7 +972,7 @@ You must manually disconnect the console connection if you open a new console se
973972
[id="virtualmachine-details-snapshots_virt-web-console-overview"]
974973
==== Snapshots tab
975974

976-
You create snapshots and restore virtual machines from snapshots on the *Snapshots* tab.
975+
You can create a snapshot, create a copy of a virtual machine from a snapshot, restore a snapshot, edit labels or annotations, and edit or delete volume snapshots on the *Snapshots* tab.
977976

978977
.*Snapshots* tab
979978
[%collapsible]
@@ -997,7 +996,7 @@ You create snapshots and restore virtual machines from snapshots on the *Snapsho
997996
998997
Click the snapshot name to edit the labels or annotations.
999998
1000-
Click the actions menu {kebab} beside a snapshot to select *Restore* or *Delete*.
999+
Click the actions menu {kebab} beside a snapshot to select *Create VirtualMachine*, *Restore*, or *Delete*.
10011000
|====
10021001
=====
10031002

virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-instance-types.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ toc::[]
88

99
You can create virtual machines (VMs) from instance types by using the {product-title} web console.
1010

11-
include::modules/virt-creating-vm-instancetype.adoc[leveloffset=+1]
11+
include::modules/virt-creating-vm-instancetype.adoc[leveloffset=+1]
12+
13+
include::modules/virt-creating-vm-from-snapshot-web.adoc[leveloffset=+1]
14+
15+
include::modules/virt-cloning-vm-snapshot.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)