Home > Servers > Rack and Tower Servers > Intel > White Papers > The science behind the report: PowerEdge R750 using Kubernetes containers > Installing VMware Tanzu Kubernetes Grid (TKG) Standalone version 1.3.1
We installed TKG Standalone version 1.3.1 by following the installation steps in the VMware documentation: https://docs.vmware.com/en/ VMware-Tanzu-Kubernetes-Grid/1.3/vmware-tanzu-kubernetes-grid-13/GUID-install-cli.html.
We installed ESXi 7 on the SUT and added it to an existing VMware vSphere® environment under the control of a vCenter appliance. The vSphere cluster uses one distributed switch with one physical NICS connected to a TOR switch running DHCP. We created a data center and resource pool on vCenter for the test.
sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \ https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo usermod -a -G docker ubuntu
sudo service docker start
ssh-keygen -t rsa -b 4096 -C ubuntu@ubu01
tar -xf tanzu-cli-bundle-v1.3.1-linux-amd64.tar sudo install cli/core/v1.3.1/tanzu-core-linux_amd64 /usr/local/bin/tanzu gunzip kubectl-linux-v1.20.5-vmware.1.gz sudo install kubectl-linux-v1.20.5-vmware.1 /usr/local/bin/kubectl gunzip cli/{imgpkg,kapp,kbld,ytt}-*.1.gz for i in imgpkg kapp kbld ytt ; do sudo install cli/${i}-linux-amd64-*vmware.1 /usr/local/bin/${i} done
tanzu plugin install --local cli all
sudo sysctl net/netfilter/nf_conntrack_max=131072
Initialize the TKG environment for the local user on the VM (Note: The third command may display the error message "Error: unable to parse provider name: invalid provider name "". Provider name should be in the form name[:version] and name cannot be empty", which you can ignore):
rm -rf ~/.tanzu/tkg/bom
export TKG_BOM_CUSTOM_IMAGE_TAG="v1.3.1-patch1"
tanzu management-cluster create --ui
Open a browser, and navigate to https://127.0.0.1:8080/
In the VMware vSphere area, select Deploy.
On the vSphere 7.0.1 Environment Detected screen, click Deploy TKG management cluster.
Enter the following information:
Click Connect.
On the Verify SSL Thumbprint screen, click Continue.
Enter or select the following information:
Click Next.
In the Development window, enter the following information:
Click Next.
To bypass the VMware NSX Advanced Load Balancer screen, click Next.
To bypass the Metadata screen, click Next.
Select the VM folder, datastore, and resource pool, and click Next.
tanzu management-cluster get mgmt kubectl get nodes