Skip to content

Commit 15a4da2

Browse files
author
Audrey Spaulding
committed
refactor create vm TOC
1 parent bab2503 commit 15a4da2

25 files changed

+117
-81
lines changed

_topic_maps/_topic_map.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4496,15 +4496,22 @@ Topics:
44964496
- Name: Virtual machines
44974497
Dir: virtual_machines
44984498
Topics:
4499-
- Name: Creating VMs from Red Hat images
4500-
Dir: creating_vms_rh
4499+
- Name: Creating a virtual machine
4500+
Dir: creating_vm
45014501
Topics:
4502-
- Name: Creating VMs from Red Hat images overview
4503-
File: virt-creating-vms-from-rh-images-overview
4502+
# - Name: Overview
4503+
# File: virt-basic-vm-overview
4504+
# - Name: Setting up your environment
4505+
# File: virt-setting-up-environment
45044506
- Name: Creating VMs from instance types
45054507
File: virt-creating-vms-from-instance-types
45064508
- Name: Creating VMs from templates
45074509
File: virt-creating-vms-from-templates
4510+
- Name: Creating VMs from Red Hat images
4511+
Dir: creating_vms_rh
4512+
Topics:
4513+
- Name: Creating VMs from Red Hat images overview
4514+
File: virt-creating-vms-from-rh-images-overview
45084515
- Name: Creating VMs from the CLI
45094516
File: virt-creating-vms-from-cli
45104517
- Name: Creating VMs from custom images

_topic_maps/_topic_map_osd.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,15 +1513,23 @@ Topics:
15131513
# - Name: Virtual machines
15141514
# Dir: virtual_machines
15151515
# Topics:
1516+
# - Name: Creating a virtual machine
1517+
# Dir: creating_vm
1518+
# Topics:
1519+
# - Name: Overview
1520+
# File: virt-vm-overview
1521+
# - Name: Setting up your environment
1522+
# File: virt-setting-up-environment
1523+
# - Name: Creating VMs from instance types
1524+
# File: virt-creating-vms-from-instance-types
1525+
# - Name: Creating VMs from templates
1526+
# File: virt-creating-vms-from-templates
1527+
# Topics:
15161528
# - Name: Creating VMs from Red Hat images
15171529
# Dir: creating_vms_rh
15181530
# Topics:
15191531
# - Name: Creating VMs from Red Hat images overview
15201532
# File: virt-creating-vms-from-rh-images-overview
1521-
# - Name: Creating VMs from templates
1522-
# File: virt-creating-vms-from-templates
1523-
# - Name: Creating VMs from instance types
1524-
# File: virt-creating-vms-from-instance-types
15251533
# - Name: Creating VMs from the CLI
15261534
# File: virt-creating-vms-from-cli
15271535
# - Name: Creating VMs from custom images

_topic_maps/_topic_map_rosa.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,15 +1802,22 @@ Topics:
18021802
- Name: Virtual machines
18031803
Dir: virtual_machines
18041804
Topics:
1805+
- Name: Creating a virtual machine
1806+
Dir: creating_vm
1807+
Topics:
1808+
# - Name: Overview
1809+
# File: virt-basic-vm-overview
1810+
# - Name: Setting up your environment
1811+
# File: virt-setting-up-environment
1812+
- Name: Creating VMs from instance types
1813+
File: virt-creating-vms-from-instance-types
1814+
- Name: Creating VMs from templates
1815+
File: virt-creating-vms-from-templates
18051816
- Name: Creating VMs from Red Hat images
18061817
Dir: creating_vms_rh
18071818
Topics:
18081819
- Name: Creating VMs from Red Hat images overview
18091820
File: virt-creating-vms-from-rh-images-overview
1810-
- Name: Creating VMs from templates
1811-
File: virt-creating-vms-from-templates
1812-
- Name: Creating VMs from instance types
1813-
File: virt-creating-vms-from-instance-types
18141821
- Name: Creating VMs from the CLI
18151822
File: virt-creating-vms-from-cli
18161823
- Name: Creating VMs from custom images

modules/virt-about-instance-types.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-instance-types.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-instance-types.adoc
44

55
:_mod-docs-content-type: CONCEPT
66
[id="virt-about-instance-types_{context}"]
77
= About instance types
88

9-
An instance type is a reusable object where you can define resources and characteristics to apply to new VMs. You can define custom instance types or use the variety that are included when you install {VirtProductName}.
9+
An instance type is a reusable object where you can define resources and characteristics to apply to new VMs. You can define custom instance types or use the variety that are included when you install {VirtProductName}.
1010

1111
To create a new instance type, you must first create a manifest, either manually or by using the `virtctl` CLI tool. You then create the instance type object by applying the manifest to your cluster.
1212

13-
{VirtProductName} provides two CRDs for configuring instance types:
13+
{VirtProductName} provides two CRDs for configuring instance types:
1414

1515
* A namespaced object: `VirtualMachineInstancetype`
1616
* A cluster-wide object: `VirtualMachineClusterInstancetype`
@@ -20,11 +20,11 @@ These objects use the same `VirtualMachineInstancetypeSpec`.
2020
[id="required-attributes_{context}"]
2121
== Required attributes
2222

23-
When you configure an instance type, you must define the `cpu` and `memory` attributes. Other attributes are optional.
23+
When you configure an instance type, you must define the `cpu` and `memory` attributes. Other attributes are optional.
2424

2525
[NOTE]
2626
====
27-
When you create a VM from an instance type, you cannot override any parameters defined in the instance type.
27+
When you create a VM from an instance type, you cannot override any parameters defined in the instance type.
2828
2929
Because instance types require defined CPU and memory attributes, {VirtProductName} always rejects additional requests for these resources when creating a VM from an instance type.
3030
====
@@ -55,7 +55,7 @@ You can create an instance type manifest by using the `virtctl` CLI utility. For
5555
$ virtctl create instancetype --cpu 2 --memory 256Mi
5656
----
5757

58-
where:
58+
where:
5959

6060
`--cpu <value>`:: Specifies the number of vCPUs to allocate to the guest. Required.
6161
`--memory <value>`:: Specifies an amount of memory to allocate to the guest. Required.

modules/virt-cloud-init-fields-web.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-templates.adoc
44

55
[id="virt-cloud-init-fields-web_{context}"]
66
= Cloud-init fields

modules/virt-common-instancetypes.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-instance-types.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-instance-types.adoc
44

55
:_mod-docs-content-type: REFERENCE
66
[id="virt-common-instancetypes_{context}"]
7-
= Pre-defined instance types
7+
= Pre-defined instance types
88

99
{VirtProductName} includes a set of pre-defined instance types called `common-instancetypes`. Some are specialized for specific workloads and others are workload-agnostic.
1010

@@ -17,17 +17,17 @@ These instance type resources are named according to their series, version, and
1717
^.^|Use case ^.^|Series ^.^|Characteristics ^.^|vCPU to memory ratio ^.^|Example resource
1818

1919
^.^|Universal
20-
^.^|U
21-
a|
20+
^.^|U
21+
a|
2222
* Burstable CPU performance
2323
^.^|1:4
24-
.^a|`u1.medium`::
24+
.^a|`u1.medium`::
2525
* 1 vCPUs
2626
* 4 Gi memory
2727

2828
^.^|Overcommitted
2929
^.^|O
30-
a|
30+
a|
3131
* Overcommitted memory
3232
* Burstable CPU performance
3333
^.^|1:4
@@ -37,7 +37,7 @@ a|
3737

3838
^.^|Compute-exclusive
3939
^.^|CX
40-
a|
40+
a|
4141
* Hugepages
4242
* Dedicated CPU
4343
* Isolated emulator threads
@@ -59,8 +59,8 @@ a|
5959
* 128Gi memory
6060

6161
^.^|Memory-intensive
62-
^.^|M
63-
a|
62+
^.^|M
63+
a|
6464
* Hugepages
6565
* Burstable CPU performance
6666
^.^|1:8
@@ -70,7 +70,7 @@ a|
7070

7171
^.^|Network-intensive
7272
^.^|N
73-
a|
73+
a|
7474
* Hugepages
7575
* Dedicated CPU
7676
* Isolated emulator threads

modules/virt-creating-template.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-templates.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="virt-creating-template_{context}"]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-templates.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="virt-creating-vm-from-template_{context}"]

modules/virt-creating-vm-instancetype.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/virt-creating-vms-from-instance-types.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-instance-types.adoc
44
// * virt/virtual_machines/virt-accessing-vm-ssh.adoc
55

66
ifeval::["{context}" == "virt-creating-vms-from-instance-types"]

modules/virt-customizing-vm-template-web.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.adoc
3+
// * virt/virtual_machines/creating_vm/virt-creating-vms-from-templates.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="virt-customizing-vm-template-web_{context}"]

0 commit comments

Comments
 (0)