2.3 - Lab 3¶
Objectives¶
- Log in to the vSphere Client
- Create Resource Pools
- Create a VM Folder
- Import the Base OS Template OVA Files
- Convert the VMs to Templates
Login to the vSphere Client¶
- Using Firefox, open the vSphere Client bookmark in a new tab.
- Log in to the vSphere Client.
- User name: administrator@vsphere.local
- Password: VMware1!
- Expand SA-Datacenter and expand SA-Cluster-01.
- Verify that nsx-adv-lb-controller is powered on.
- If nsx-adv-lb-controller is not powered on, right-click nsx-adv-lb-controller and select Power > Power On.
Create the Resource Pools¶
You create resource pools for the management cluster and workload clusters.
- In the vSphere Client, click Menu.
- Click Hosts and Clusters.
- In the navigation pane, expand SA-Datacenter.
- Right-click SA-Cluster-01.
- Click New Resource Pool.
- Enter rp-tkg-management in the Name text box and click OK.
- Right-click SA-Cluster-01.
- Click New Resource Pool.
- Enter rp-tkg-production in the Name text box and click OK.
Create a VM Folder¶
You create a VM folder to place VMs created by Tanzu Kubernetes Grid.
- In the vSphere Client, click Menu.
- Click VMs and Templates.
- In the navigation pane, right-click SA-Datacenter.
- Select New Folder > New VM and Template Folder.
- In the New Folder window, enter tkg-vms in the Enter a name for the folder text box and click OK.
Import the Base OS Template OVA Files¶
- In the vSphere Client, click Menu.
- Click Hosts and Clusters.
- In the navigation pane, expand SA-Datacenter.
- Right-click SA-Cluster-01.
- Click Deploy OVF Template.
- In the Deploy OVF Template window, select Local file > UPLOAD FILES under Select an OVF template.
- In the Open window, select Downloads.
- Select ubuntu-2004-kube-v1.20.5-vmware.1-tkg.1-16555584836258482890.ova and click Open.
- In the Deploy OVF Template window, click NEXT.
- On the Select a name and folder form, leave the default value for the virtual machine name.
- Select tkg-vms for the virtual machine location and click NEXT.
- Select SA-Cluster-01 for the compute resource and click NEXT.
- On the Review details form, click NEXT.
- Select I accept all license agreements and click NEXT.
- Select SA-Shared-01 for storage.
-
Select Thin Provision as the virtual disk format and click NEXT.
IMPORTANT:
Ensure that you select Thin Provision after selecting the storage.
-
Select pg-SA-Production for the destination network and click NEXT.
-
Click FINISH.
Wait for the OVF deployment to finish before proceeding to the next task.
Convert the VMs to Templates¶
- In the vSphere Client, click Menu.
- Click VMs and Templates.
- Right-click ubuntu-2004-kube-v1.20.5+vmware.1.
- Click Template.
- Click Convert to Template.
- In the Confirm Convert window, click YES.