Skip to content

Commit 46da6dd

Browse files
authored
Merge pull request #62342 from apinnick/fix-create-vms
"Creating VMs" cleanup
2 parents 3a4cfe8 + 3270f91 commit 46da6dd

12 files changed

+88
-203
lines changed

modules/odc-creating-vms.adoc

Lines changed: 0 additions & 33 deletions
This file was deleted.

modules/virt-creating-vm-cli.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
:_content-type: PROCEDURE
66
[id="virt-creating-vm-cli_{context}"]
7-
= Using the CLI to create a virtual machine
7+
= Creating a virtual machine by using the command line
88

9-
You can create a virtual machine from a `virtualMachine` manifest.
9+
You can create a virtual machine (VM) by using the command line.
1010

1111
.Procedure
1212

13-
. Edit the `VirtualMachine` manifest for your VM. For example, the following manifest configures a {op-system-base-full} VM:
13+
. Edit the `VirtualMachine` manifest for your VM. The following example configures a {op-system-base-full} VM:
1414
+
1515
.Example manifest for a {op-system-base} VM
1616
[source,yaml]

modules/virt-creating-vm-custom-template.adoc

Lines changed: 0 additions & 29 deletions
This file was deleted.

modules/virt-creating-vm-instancetype.adoc

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,25 @@
66
[id="virt-creating-vm-instancetype_{context}"]
77
= Creating a virtual machine from an instance type
88

9-
You can use common instance types to install and edit customized instance types and preferences to create a virtual machine (VM).
9+
You create a virtual machine (VM) from an instance type by using the {product-title} web console.
1010

1111
:FeatureName: Creating a virtual machine from an instance type
1212
include::snippets/technology-preview.adoc[]
1313

1414
.Procedure
1515

16-
. In the web console, navigate to *Virtualization* -> *Catalog* -> *InstanceTypes*.
17-
18-
. Select a volume to boot from.
16+
. In the web console, navigate to *Virtualization* -> *Catalog* and click the *InstanceTypes* tab.
1917

18+
. Select a bootable volume.
2019
+
2120
[NOTE]
2221
====
23-
The volumes list shows only volumes that exist in the `openshift-virtualization-os-images` namespace and have the `instancetype.kubevirt.io/default-preference` label.
22+
The volume table only lists volumes in the `openshift-virtualization-os-images` namespace that have the `instancetype.kubevirt.io/default-preference` label.
2423
====
2524

26-
. Select an instance type from the 'InstanceType' list.
27-
28-
. Select the 'InstanceType' size based on the VM's available CPUs and memory.
29-
30-
. Optional: Edit the *VirtualMachine details*. You can edit the SSH key during this step under *Advanced settings*.
25+
. Click an instance type tile and select the configuration appropriate for your workload.
3126

32-
. Optional: Clear the *Start this VirtualMachine after creation* checkbox to prevent the VM from starting automatically.
27+
. Optional: Expand *Advanced settings* to add a static public SSH key to the VM.
3328

3429
. Click *Create VirtualMachine*.
3530

modules/virt-creating-vm-quick-start-web.adoc

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/virt-create-vms.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="virt-creating-vm-template_{context}"]
7+
= Creating a virtual machine from a template
8+
9+
You can create a virtual machine (VM) from a template with an available boot source by using the {product-title} web console.
10+
11+
.Procedure
12+
13+
. Click *Virtualization* -> *Catalog* in the side menu.
14+
15+
. Click *Boot source available* to filter templates with boot sources.
16+
+
17+
The catalog displays the default templates. Click *All Items* to view all available templates for your filters.
18+
19+
. Click a template tile to view its details.
20+
21+
. Click *Quick create VirtualMachine* to create a VM from the template.
22+
+
23+
Optional: Update parameters such as the VM name or disk source:
24+
25+
.. Click *Customize VirtualMachine*.
26+
.. Edit the parameters and click *Next*.
27+
.. Click *Create VirtualMachine*.
28+
+
29+
The *VirtualMachine details* page displays the provisioning status.
30+

modules/virt-creating-vm-yaml-web.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
:_content-type: PROCEDURE
66
[id="virt-creating-vm-yaml-web_{context}"]
7-
= Pasting in a pre-configured YAML file to create a virtual machine
7+
= Creating a virtual machine from a YAML file
88

9-
Create a virtual machine by writing or pasting a YAML configuration file. A valid `example` virtual machine configuration is provided by default whenever you open the YAML edit screen.
9+
You can create a virtual machine by writing or pasting a YAML configuration file in the {product-title} web console. A valid `example` virtual machine configuration is provided by default whenever you open the YAML edit screen.
1010

1111
If your YAML configuration is invalid when you click *Create*, an error message indicates the parameter in which the error occurs. Only one error is shown at a time.
1212

modules/virt-quick-creating-vm.adoc

Lines changed: 0 additions & 33 deletions
This file was deleted.

modules/virt-storage-wizard-fields-web.adoc

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
[id="virt-storage-wizard-fields-web_{context}"]
77
= Storage fields
88

9-
[cols="5a,3a,5a"]
9+
[cols="1a,3a"]
1010
|===
11-
|Name |Selection |Description
11+
|Field |Description
1212

13-
.6+|Source
1413
|Blank (creates PVC)
1514
|Create an empty disk.
1615

@@ -30,60 +29,50 @@
3029
|Upload content from a container located in a registry accessible from the cluster. The container disk should be used only for read-only filesystems such as CD-ROMs or temporary virtual machines.
3130

3231
|Name
33-
|
3432
|Name of the disk. The name can contain lowercase letters (`a-z`), numbers (`0-9`), hyphens (`-`), and periods (`.`), up to a maximum of 253 characters. The first and last characters must be alphanumeric. The name must not contain uppercase letters, spaces, or special characters.
3533

3634
|Size
37-
|
3835
|Size of the disk in GiB.
3936

4037
|Type
41-
|
4238
|Type of disk. Example: Disk or CD-ROM
4339

4440
|Interface
45-
|
4641
|Type of disk device. Supported interfaces are *virtIO*, *SATA*, and *SCSI*.
4742

4843
|Storage Class
49-
|
5044
|The storage class that is used to create the disk.
5145
|===
5246

5347
[id="virt-storage-wizard-fields-advanced-web_{context}"]
5448
[discrete]
5549
== Advanced storage settings
5650

57-
The following advanced storage settings are optional and available for *Blank*, *Import via URL*, and *Clone existing PVC* disks. Before {VirtProductName} 4.11, if you do not specify these parameters, the system uses the default values from the `kubevirt-storage-class-defaults` config map. In {VirtProductName} 4.11 and later, the system uses the default values from the xref:../../virt/virtual_machines/virtual_disks/virt-creating-data-volumes.adoc#virt-customizing-storage-profile_virt-creating-data-volumes[storage profile].
51+
The following advanced storage settings are optional and available for *Blank*, *Import via URL*, and *Clone existing PVC* disks.
5852

59-
[NOTE]
60-
====
61-
Use storage profiles to ensure consistent advanced storage settings when provisioning storage for {VirtProductName}.
62-
63-
To manually specify *Volume Mode* and *Access Mode*, you must clear the *Apply optimized StorageProfile settings* checkbox, which is selected by default.
64-
====
53+
If you do not specify these parameters, the system uses the default storage profile values.
6554

66-
[cols="5a,3a,3a,5a",options="header"]
55+
[cols="1a,1a,3a",options="header"]
6756
|===
68-
|Name |Mode description |Parameter |Parameter description
57+
|Parameter |Option |Parameter description
6958

7059
.2+|Volume Mode
7160

72-
.2+|Defines whether the persistent volume uses a formatted file system or raw block state. Default is *Filesystem*.
7361
|Filesystem
7462
|Stores the virtual disk on a file system-based volume.
7563
|Block
7664
|Stores the virtual disk directly on the block volume. Only use `Block` if the underlying storage supports it.
77-
.3+|Access Mode
78-
.3+|Access mode of the persistent volume.
65+
66+
.2+|Access Mode
7967
|ReadWriteOnce (RWO)
8068
|Volume can be mounted as read-write by a single node.
8169
|ReadWriteMany (RWX)
8270
|Volume can be mounted as read-write by many nodes at one time.
8371
[NOTE]
8472
====
85-
This is required for some features, such as live migration of virtual machines between nodes.
73+
This mode is required for live migration.
8674
====
75+
8776
|ReadOnlyMany (ROX)
8877
|Volume can be mounted as read only by many nodes.
8978
|===

modules/virt-vm-storage-volume-types.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
// * virt/virtual_machines/virt-create-vms.adoc
44

55
[id="virt-vm-storage-volume-types_{context}"]
6-
= Virtual machine storage volume types
6+
= Storage volume types
77

8-
[cols="1a,1a"]
8+
.Storage volume types
9+
[cols="1a,3a"]
910
|===
10-
|Storage volume type |Description
11+
|Type |Description
1112

1213
|ephemeral
1314
|A local copy-on-write (COW) image that uses a network volume as a read-only backing store. The backing volume must be a *PersistentVolumeClaim*. The ephemeral image is created when the virtual machine starts and stores all writes locally. The ephemeral image is discarded when the virtual machine is stopped, restarted, or deleted. The backing volume (PVC) is not mutated in any way.

0 commit comments

Comments
 (0)