Introduction to VMware Tanzu Kubernetes Grid
What is VMware Tanzu Kubernetes Grid?
VMware Tanzu Kubernetes Grid provides a consistent, upstream-compatible implementation of Kubernetes, that is tested, signed, and supported by VMware. VMware Tanzu Kubernetes Grid allows organization to run Kubernetes with consistency and make it available to developers as a utility. VMware Tanzu Kubernetes Grid supported by VMware provides organizations with a consistent, upstream-compatible, regional Kubernetes substrate across on premise software-defined datacenters and public cloud environments. VMware TKG provides the services such as networking, authentication, ingress control, and logging that a production Kubernetes environment requires.
VMware TKG Components
- Bootstrap Environment : The bootstrap environment any physical or virtual server on which you download and run the Tanzu Kubernetes Grid CLI. This is where the initial bootstrapping of a management cluster occurs, before it is pushed to the platform where it will run.
- TKG Management Cluster : The management cluster will be the first element that need to be deployed when you create a Tanzu Kubernetes Grid instance. The management cluster is a Kubernetes cluster that performs the role of the primary management and operational center for the Tanzu Kubernetes Grid instance. You can either leverage TKG CLI or Web Interface to deploy a TKG Management Cluster.
- Tanzu Kubernetes Cluster: are the clusters that are deployed from the management cluster by using the Tanzu Kubernetes Grid CLI. You can have multiple clusters running different versions of Kubernetes, depending on the needs of the applications they run. By default Tanzu Kubernetes clusters implement Calico for pod-to-pod networking.
Deploying TKG Management Cluster
- Internet Connectivity on the Bootstrap server.
- Install docker & kubectl on bootstrap server.
- Download, Unpack & Install the Tanzu Kubernetes Grid CLI
- On Linux use gunzip tkg-linux-amd64-v1.1.0-vmware.1.gz
- mv ./tkg-linux-amd64-v1.1.0-vmware.1 /usr/local/bin/tkg
- chmod +x /usr/local/bin/tkg
- Verify by executing tkg version
- Generate Public & Private Key on Bootstrap server
ssh-keygen -t rsa -b 4096 -C “firstname.lastname@example.org
- SSH to TKG Bootstrap VM.
- Run the following command to start the UI wizard: tkg init –ui
- Open up another terminal session on your workstation and run the following command to use SSH port forwarding so we can connect to the TKG UI from your local workstation:ssh email@example.com -L 8080:127.0.0.1:8080 -N Open Internet browser and open URL http://127.0.0.1:8080
Deploying Tanzu Kubernetes Grid Management Cluster
This conclude the process of deploying a #VMware #Kubernetes Grid Management Cluster in a vSphere environment. Hope this will be informative for you. Please do like and share if you worth sharing this. Happy Learning 🙂