Skip to content

Commit 2abcaa5

Browse files
authored
Merge pull request #88861 from ousleyp/cnv-46347
CNV#46347: live update a VM's instance type
2 parents 6feaa0d + 5a3261a commit 2abcaa5

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/managing_vms/virt-edit-vms.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-change-vm-instance-type_{context}"]
7+
8+
= Changing the instance type of a VM
9+
10+
You can change the instance type associated with a running virtual machine (VM) by using the web console. The change takes effect immediately.
11+
12+
.Prerequisites
13+
14+
* You created the VM by using an instance type.
15+
16+
.Procedure
17+
18+
. In the {product-title} web console, click *Virtualization* -> *VirtualMachines*.
19+
20+
. Select a VM to open the *VirtualMachine details* page.
21+
22+
. Click the *Configuration* tab.
23+
24+
. On the *Details* tab, click the instance type text to open the *Edit Instancetype* dialog. For example, click *1 CPU | 2 GiB Memory*.
25+
26+
. Edit the instance type by using the *Series* and *Size* lists.
27+
.. Select an item from the *Series* list to show the relevant sizes for that series. For example, select *General Purpose*.
28+
.. Select the VM's new instance type from the *Size* list. For example, select *medium: 1 CPUs, 4Gi Memory*, which is available in the *General Purpose* series.
29+
30+
. Click *Save*.
31+
32+
.Verification
33+
34+
. Click the *YAML* tab.
35+
36+
. Click *Reload*.
37+
38+
. Review the VM YAML to confirm that the instance type changed.
39+

virt/creating_vm/virt-creating-vms-from-instance-types.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ include::modules/virt-inferfromvolume-labels.adoc[leveloffset=+2]
3333

3434
include::modules/virt-creating-vm-instancetype.adoc[leveloffset=+1]
3535

36+
include::modules/virt-change-vm-instance-type.adoc[leveloffset=+1]

virt/managing_vms/virt-edit-vms.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,20 @@ ifndef::openshift-rosa,openshift-dedicated[]
1414
To edit a VM to configure disk sharing by using virtual disks or LUN, see xref:../../virt/managing_vms/virtual_disks/virt-configuring-shared-volumes-for-vms.adoc#virt-configuring-shared-volumes-for-vms[Configuring shared volumes for virtual machines].
1515
endif::openshift-rosa,openshift-dedicated[]
1616

17+
include::modules/virt-change-vm-instance-type.adoc[leveloffset=+1]
18+
1719
include::modules/virt-hot-plugging-memory.adoc[leveloffset=+1]
20+
1821
include::modules/virt-hot-plugging-cpu.adoc[leveloffset=+1]
22+
1923
include::modules/virt-editing-vm-cli.adoc[leveloffset=+1]
2024

2125
include::modules/virt-add-disk-to-vm.adoc[leveloffset=+1]
2226

2327
include::modules/virt-storage-wizard-fields-web.adoc[leveloffset=+2]
28+
2429
include::modules/virt-mounting-windows-driver-disk-on-vm.adoc[leveloffset=+1]
30+
2531
include::modules/virt-adding-secret-configmap-service-account-to-vm.adoc[leveloffset=+1]
2632

2733
[discrete]

0 commit comments

Comments
 (0)