Skip to content

Commit e9aa785

Browse files
authored
Merge pull request #37086 from mgarrellRH/BZ1994630
BZ1994630: Updating mentions of VirtualMachineInstance in kind: object of YAML examples to VirtualMachine
2 parents aa6af2b + d1f5b19 commit e9aa785

11 files changed

+37
-37
lines changed

modules/virt-booting-efi-mode.adoc renamed to modules/virt-booting-vms-efi-mode.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55
[id="virt-booting-vms-efi-mode_{context}"]
66
= Booting virtual machines in EFI mode
77

8-
You can configure a virtual machine to boot in EFI mode by editing the VM or VMI manifest.
8+
You can configure a virtual machine to boot in EFI mode by editing the VM manifest.
99

1010
.Prerequisites
1111

1212
* Install the OpenShift CLI (`oc`).
1313

1414
.Procedure
1515

16-
. Create a YAML file that defines a VM object or a Virtual Machine Instance (VMI) object. Use the firmware stanza of the example YAML file:
16+
. Create a YAML file that defines a VM object. Use the firmware stanza of the example YAML file:
1717
+
1818
.Booting in EFI mode with secure boot active
1919
[source,yaml]
2020
----
2121
apiversion: kubevirt.io/v1
22-
kind: VirtualMachineInstance
22+
kind: VirtualMachine
2323
metadata:
2424
labels:
25-
special: vmi-secureboot
26-
name: vmi-secureboot
25+
special: vm-secureboot
26+
name: vm-secureboot
2727
spec:
2828
domain:
2929
devices:

modules/virt-schedule-cpu-host-model-vms.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ When the CPU model for a virtual machine (VM) is set to `host-model`, the VM inh
99

1010
.Procedure
1111

12-
* Edit the `domain` spec of your VM configuration file. The following example shows `host-model` being specified for the virtual machine instance (VMI):
12+
* Edit the `domain` spec of your VM configuration file. The following example shows `host-model` being specified for the virtual machine:
1313
+
1414
[source,yaml]
1515
----
1616
apiVersion: kubevirt/v1alpha3
17-
kind: VirtualMachineInstance
17+
kind: VirtualMachine
1818
metadata:
19-
name: myvmi
19+
name: myvm
2020
spec:
2121
domain:
2222
cpu:
2323
model: host-model <1>
2424
----
25-
<1> The VM or VMI that inherits the CPU model of the node where it is scheduled.
25+
<1> The VM that inherits the CPU model of the node where it is scheduled.

modules/virt-schedule-supported-cpu-model-vms.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
[id="virt-schedule-supported-cpu-model-vms_{context}"]
66
= Scheduling virtual machines with the supported CPU model
77

8-
You can configure a CPU model for a virtual machine (VM) or a virtual machine instance (VMI) to schedule it on a node where its CPU model is supported.
8+
You can configure a CPU model for a virtual machine (VM) to schedule it on a node where its CPU model is supported.
99

1010
.Procedure
1111

12-
* Edit the `domain` spec of your virtual machine configuration file. The following example shows a specific CPU model defined for a VMI:
12+
* Edit the `domain` spec of your virtual machine configuration file. The following example shows a specific CPU model defined for a VM:
1313
+
1414
[source,yaml]
1515
----
1616
apiVersion: kubevirt.io/v1alpha3
17-
kind: VirtualMachineInstance
17+
kind: VirtualMachine
1818
metadata:
19-
name: myvmi
19+
name: myvm
2020
spec:
2121
domain:
2222
cpu:
2323
model: Conroe <1>
2424
----
25-
<1> CPU model for the VMI.
25+
<1> CPU model for the VM.

modules/virt-setting-policy-attributes.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ You can set a policy attribute and CPU feature for each virtual machine (VM) to
99

1010
.Procedure
1111

12-
* Edit the `domain` spec of your VM configuration file. The following example sets the CPU feature and the `require` policy for a virtual machine instance (VMI):
12+
* Edit the `domain` spec of your VM configuration file. The following example sets the CPU feature and the `require` policy for a virtual machine (VM):
1313
+
1414
[source,yaml]
1515
----
1616
apiVersion: v1
1717
kind: VirtualMachine
1818
metadata:
19-
name: myvmi
19+
name: myvm
2020
spec:
2121
domain:
2222
cpu:
2323
features:
2424
- name: apic <1>
2525
policy: require <2>
2626
----
27-
<1> Name of the CPU feature for the VM or VMI.
28-
<2> Policy attribute for the VM or VMI.
27+
<1> Name of the CPU feature for the VM.
28+
<2> Policy attribute for the VM.

modules/virt-template-vmi-probe-config.adoc renamed to modules/virt-template-vm-probe-config.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
//
33
// * virt/logging_events_monitoring/virt-monitoring-vm-health.adoc
44

5-
[id="virt-template-vmi-probe-config_{context}"]
6-
= Template: Virtual machine instance configuration file for defining health checks
5+
[id="virt-template-vm-probe-config_{context}"]
6+
= Template: Virtual machine configuration file for defining health checks
77

88
[source,yaml]
99
----
1010
apiVersion: kubevirt.io/v1alpha3
11-
kind: VirtualMachineInstance
11+
kind: VirtualMachine
1212
metadata:
1313
labels:
14-
special: vmi-fedora
15-
name: vmi-fedora
14+
special: vm-fedora
15+
name: vm-fedora
1616
spec:
1717
domain:
1818
devices:

modules/virt-template-vmi-pxe-config.adoc renamed to modules/virt-template-vm-pxe-config.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
//
33
// * virt/virtual_machines/advanced_vm_management/virt-configuring-pxe-booting.adoc
44

5-
[id="virt-pxe-vmi-template_{context}"]
6-
= Template: Virtual machine instance configuration file for PXE booting
5+
[id="virt-pxe-vm-template_{context}"]
6+
= Template: Virtual machine configuration file for PXE booting
77

88
[source,yaml]
99
----
1010
apiVersion: kubevirt.io/v1alpha3
11-
kind: VirtualMachineInstance
11+
kind: VirtualMachine
1212
metadata:
1313
creationTimestamp: null
1414
labels:
15-
special: vmi-pxe-boot
16-
name: vmi-pxe-boot
15+
special: vm-pxe-boot
16+
name: vm-pxe-boot
1717
spec:
1818
domain:
1919
devices:

modules/virt-template-windows-vmi.adoc renamed to modules/virt-template-windows-vm.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
//
33
// * virt/virtual_machines/vm_networking/virt-using-the-default-pod-network-with-virt.adoc
44

5-
[id="virt-template-windows-vmi_{context}"]
6-
= Template: Windows virtual machine instance configuration file
5+
[id="virt-template-windows-vm_{context}"]
6+
= Template: Windows virtual machine configuration file
77

88
[source,yaml]
99
----
1010
apiVersion: kubevirt.io/v1alpha3
11-
kind: VirtualMachineInstance
11+
kind: VirtualMachine
1212
metadata:
1313
labels:
14-
special: vmi-windows
15-
name: vmi-windows
14+
special: vm-windows
15+
name: vm-windows
1616
spec:
1717
domain:
1818
clock:

virt/logging_events_monitoring/virt-monitoring-vm-health.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include::modules/virt-about-readiness-liveness-probes.adoc[leveloffset=+1]
1111
include::modules/virt-define-http-readiness-probe.adoc[leveloffset=+1]
1212
include::modules/virt-define-tcp-readiness-probe.adoc[leveloffset=+1]
1313
include::modules/virt-define-http-liveness-probe.adoc[leveloffset=+1]
14-
include::modules/virt-template-vmi-probe-config.adoc[leveloffset=+1]
14+
include::modules/virt-template-vm-probe-config.adoc[leveloffset=+1]
1515

1616
[id="additional-resources_monitoring-vm-health"]
1717
== Additional resources

virt/virtual_machines/advanced_vm_management/virt-configuring-pxe-booting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ include::modules/virt-networking-glossary.adoc[leveloffset=+1]
2121

2222
include::modules/virt-pxe-booting-with-mac-address.adoc[leveloffset=+1]
2323

24-
include::modules/virt-template-vmi-pxe-config.adoc[leveloffset=+1]
24+
include::modules/virt-template-vm-pxe-config.adoc[leveloffset=+1]

virt/virtual_machines/advanced_vm_management/virt-efi-mode-for-vms.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ toc::[]
99
You can boot a virtual machine (VM) in Extensible Firmware Interface (EFI) mode.
1010

1111
include::modules/virt-about-efi-mode-for-vms.adoc[leveloffset=+1]
12-
include::modules/virt-booting-efi-mode.adoc[leveloffset=+1]
12+
include::modules/virt-booting-vms-efi-mode.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)