You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/windows-machineset-vsphere.adoc
+24-17Lines changed: 24 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,24 +39,24 @@ spec:
39
39
apiVersion: vsphereprovider.openshift.io/v1beta1
40
40
credentialsSecret:
41
41
name: vsphere-cloud-credentials
42
-
diskGiB: 128
42
+
diskGiB: 128 <5>
43
43
kind: VSphereMachineProviderSpec
44
44
memoryMiB: 16384
45
45
network:
46
46
devices:
47
-
- networkName: "<vm_network_name>" <5>
47
+
- networkName: "<vm_network_name>" <6>
48
48
numCPUs: 4
49
49
numCoresPerSocket: 1
50
50
snapshot: ""
51
-
template: <windows_vm_template_name> <6>
51
+
template: <windows_vm_template_name> <7>
52
52
userDataSecret:
53
-
name: windows-user-data <7>
53
+
name: windows-user-data <8>
54
54
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>
60
60
----
61
61
<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:
<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.
68
68
<3> Configure the machine set as a Windows machine.
69
69
<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.
72
79
+
73
80
[IMPORTANT]
74
81
====
75
82
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.
76
83
====
77
84
+
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