Skip to content

Commit 99a7a4f

Browse files
authored
Merge pull request #43943 from mburke5678/BZ-1955683-diskDiB
BZ-1955683:Windows MachineSet diskDiB change disk size but doesn't affect the partition size
2 parents e6f76a6 + 440c120 commit 99a7a4f

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

modules/windows-machineset-vsphere.adoc

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,24 @@ spec:
3939
apiVersion: vsphereprovider.openshift.io/v1beta1
4040
credentialsSecret:
4141
name: vsphere-cloud-credentials
42-
diskGiB: 128
42+
diskGiB: 128 <5>
4343
kind: VSphereMachineProviderSpec
4444
memoryMiB: 16384
4545
network:
4646
devices:
47-
- networkName: "<vm_network_name>" <5>
47+
- networkName: "<vm_network_name>" <6>
4848
numCPUs: 4
4949
numCoresPerSocket: 1
5050
snapshot: ""
51-
template: <windows_vm_template_name> <6>
51+
template: <windows_vm_template_name> <7>
5252
userDataSecret:
53-
name: windows-user-data <7>
53+
name: windows-user-data <8>
5454
workspace:
55-
datacenter: <vcenter_datacenter_name> <8>
56-
datastore: <vcenter_datastore_name> <9>
57-
folder: <vcenter_vm_folder_path> <10>
58-
resourcePool: <vsphere_resource_pool> <11>
59-
server: <vcenter_server_ip> <12>
55+
datacenter: <vcenter_datacenter_name> <9>
56+
datastore: <vcenter_datastore_name> <10>
57+
folder: <vcenter_vm_folder_path> <11>
58+
resourcePool: <vsphere_resource_pool> <12>
59+
server: <vcenter_server_ip> <13>
6060
----
6161
<1> Specify the infrastructure ID that is based on the cluster ID that you set when you provisioned the cluster. You can obtain the infrastructure ID by running the following command:
6262
+
@@ -67,17 +67,24 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
6767
<2> Specify the Windows machine set name. The machine set name cannot be more than 9 characters long, due to the way machine names are generated in vSphere.
6868
<3> Configure the machine set as a Windows machine.
6969
<4> Configure the Windows node as a compute machine.
70-
<5> Specify the vSphere VM network to deploy the machine set to. This VM network must be where other Linux compute machines reside in the cluster.
71-
<6> Specify the full path of the Windows vSphere VM template to use, such as `golden-images/windows-server-template`. The name must be unique.
70+
<5> Specify the size of the vSphere Virtual Machine Disk (VMDK).
71+
+
72+
[NOTE]
73+
====
74+
This parameter does not set the size of the Windows partition. You can resize the Windows partition by using the `unattend.xml` file or by creating the vSphere Windows virtual machine (VM) golden image with the required disk size.
75+
====
76+
+
77+
<6> Specify the vSphere VM network to deploy the machine set to. This VM network must be where other Linux compute machines reside in the cluster.
78+
<7> Specify the full path of the Windows vSphere VM template to use, such as `golden-images/windows-server-template`. The name must be unique.
7279
+
7380
[IMPORTANT]
7481
====
7582
Do not specify the original VM template. The VM template must remain off and must be cloned for new Windows machines. Starting the VM template configures the VM template as a VM on the platform, which prevents it from being used as a template that machine sets can apply configurations to.
7683
====
7784
+
78-
<7> The `windows-user-data` is created by the WMCO when the first Windows machine is configured. After that, the `windows-user-data` is available for all subsequent machine sets to consume.
79-
<8> Specify the vCenter Datacenter to deploy the machine set on.
80-
<9> Specify the vCenter Datastore to deploy the machine set on.
81-
<10> Specify the path to the vSphere VM folder in vCenter, such as `/dc1/vm/user-inst-5ddjd`.
82-
<11> Optional: Specify the vSphere resource pool for your Windows VMs.
83-
<12> Specify the vCenter server IP or fully qualified domain name.
85+
<8> The `windows-user-data` is created by the WMCO when the first Windows machine is configured. After that, the `windows-user-data` is available for all subsequent machine sets to consume.
86+
<9> Specify the vCenter Datacenter to deploy the machine set on.
87+
<10> Specify the vCenter Datastore to deploy the machine set on.
88+
<11> Specify the path to the vSphere VM folder in vCenter, such as `/dc1/vm/user-inst-5ddjd`.
89+
<12> Optional: Specify the vSphere resource pool for your Windows VMs.
90+
<13> Specify the vCenter server IP or fully qualified domain name.

0 commit comments

Comments
 (0)