Learn how to deploy a Tanzu Kubernetes on VMware

When you deploy workload clusters to vSphere, you must specify options in the cluster configuration file to connect to the vCenter Server and identify the vSphere resources that the cluster will use. You can also specify standard sizes for the control plane and worker node VMs, or configure the CPU, memory, and disk sizes for the control plane and worker nodes explicitly. If you use custom image templates, you can identify which template to use to create node VMs.

VMware Tanzu Kubernetes Grid provides organizations with a consistent, upstream-compatible, regional Kubernetes substrate that is ready for end-user workloads and ecosystem integrations. As a part of VMware Tanzu Standard Edition, Tanzu Kubernetes Grid is central to many of the offerings in the VMware Tanzu portfolio and provides the Kubernetes runtime for VMware Tanzu for Kubernetes Operations.

With Tanzu Kubernetes Grid, you can deploy VMware Kubernetes clusters across software-defined datacenters (SDDC) and public cloud environments, including vSphere, Microsoft Azure, and Amazon EC2. Tanzu Kubernetes Grid allows you to run Kubernetes with consistency and make it available to your developers as a utility, just like the electricity grid. Tanzu Kubernetes Grid has a native awareness of the multi-cluster paradigm, not just for clusters, but also for the services that your clusters share.

Steps by Step process : How to deploy a Tanzu Kubernetes on VMware

Step 1: Installing Kubectl, and Docker on Linux VM

Step 2: Install TKG CLI on Linux VM

Step 3: Create an SSH Key Pair on Linux VM

Step 4: Deploy OVAs & create templates in vSphere 6.7 U3

Step 5: Deploy Tanzu Kubernetes Grid Management Cluster

  • In the vSphere Client, right-click on cluster & select Deploy OVF template.
  • Choose Local file, click the button to upload files, and navigate to the photon-33-kube-v1.18.3-vmware.1.ova file on your local machine.
  • Choose the appliance name
  • Choose the destination as VM folder – TKG1 (VM folder created as a part of pre-requisites)
  • Choose the destination as resource pool – TKG1 (Resource pool created as a part of pre-requisites)
  • Accept EULA
  • Select the datastore as (VMFS6 Datastore created as a part of software specification)
  • Select the network for the VM to connect (Network segment created as a part of software specification
  • Click Finish to deploy the VM
  • Right-click on the VM, select Template and click on Convert to Template
  • Follow the same step for haproxy OVA – photon-3-haroxy-v1.2.4-vmware.1.ova

Step 6: Management Cluster is done

Step 7: You can verify that all nodes are up & running by running the command

Step 8: Deploy Tanzu Kubernetes Grid Workload Cluster

Step 9: Let us deploy a Nginx application on the TKG cluster

If you follow these steps, you will find it easy to deploy Tanzu Kubernetes Grid Cluster on VMware vSphere infrastructure. If you’d like to know more about TKG, feel free to contact us today.

0Shares

Related Posts

Top 3 Free SEO Tools To Boost Website Rank Best way to protect purchase Crypto Coin in any platform ?
Share via
Copy link
Powered by Social Snap