apiVersion: machine.openshift.io/v1
kind: ControlPlaneMachineSet
metadata:
name: cluster
namespace: openshift-machine-api
spec:
# ...
template:
# ...
spec:
providerSpec:
value:
apiVersion: machine.openshift.io/v1beta1
credentialsSecret:
name: vsphere-cloud-credentials (1)
diskGiB: 120 (2)
kind: VSphereMachineProviderSpec (3)
memoryMiB: 16384 (4)
metadata:
creationTimestamp: null
network: (5)
devices:
- networkName: <vm_network_name>
numCPUs: 4 (6)
numCoresPerSocket: 4 (7)
snapshot: ""
template: <vm_template_name> (8)
userDataSecret:
name: master-user-data (9)
workspace: (10)
datacenter: <vcenter_data_center_name> (11)
datastore: <vcenter_datastore_name> (12)
folder: <path_to_vcenter_vm_folder> (13)
resourcePool: <vsphere_resource_pool> (14)
server: <vcenter_server_ip> (15)