apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: VSphereMachineTemplate (1)
metadata:
name: <template_name> (2)
namespace: openshift-cluster-api
spec:
template:
spec: (3)
template: <vm_template_name> (4)
server: <vcenter_server_ip> (5)
diskGiB: 128
cloneMode: linkedClone (6)
datacenter: <vcenter_data_center_name> (7)
datastore: <vcenter_datastore_name> (8)
folder: <vcenter_vm_folder_path> (9)
resourcePool: <vsphere_resource_pool> (10)
numCPUs: 4
memoryMiB: 16384
network:
devices:
- dhcp4: true
networkName: "<vm_network_name>" (11)