VMWare Tanzu (Kubernetes)

VMware Tanzu is the suite of products and solutions that allow its customers to Build, Run, and Manage Kubernetes controlled container-based applications. This means that Kubernetes will literally be available to all VMware vSphere customers who are already familiar with VMware vSphere tooling and processes and be able to implement these now with Kubernetes and containers. This will allow VMware vSphere admins to unite virtual machines and containers together as a single layer backing modern applications of the future. In this section I am only going to show how to setup using a vSAN cluster.

For both examples I will be using nested ESXi servers (esxi5, esxi6 and esxi7) on my Dell R620 physical server which runs the lastest vSphere ESXi O/S, I have setup 4 networks connected to the 4 physical NIC's which each of the nested ESXi will be connected to.

I have created 850GB NFS datastore to be used for the 3 nested ESXi servers and the vCenter (vcenter3).

Power on the servers (ESXi installation) and the vCenter (see vCenter installation and configuration)

There are two ways to setup a Kubernetes Cluster either using the Grid CLI installer or using the vCenter Workload Manager, once up and running you can then use the familiar kubectl commands, you will see this in both examples. The first example (using the CLI installer) was very easy to setup and install, the second example (Workload Manager) did require me to setup a RedHat server to act as a network router (due to only having a network hub), if you have a manageable switch this part would be unnecessary, also you are required to setup a HaProxy server althrough this was not to difficult. In both examples I setup a 3 node basic cluster enabling both HA and DRS, which is the minimum requirements, I also connected a 400GB (VM's and HA heartbeat) and a 50GB (HA heartbeat) NFS datastores to be used by the Kubernetes cluster.

Installing Tanzu using GRID CLI Installer

Installing Tanzu using vCenter Workload Manager