This topic lists the procedures to follow when installing VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) on vSphere with NSX networking manually, using VMware Tanzu Operations Manager (Ops Manager).
Note: The recommended method for installing Tanzu Kubernetes Grid Integrated Edition on vSphere with NSX is to use the Tanzu Kubernetes Grid Integrated Edition Management Console. For information, see Install on vSphere with the Management Console.
In preparation for installing Tanzu Kubernetes Grid Integrated Edition on vSphere with VMware NSX, review all of the topics in the subsection Preparing to Install Tanzu Kubernetes Grid Integrated Edition on vSphere with VMware NSX.
VMware NSX must be installed and configured before you install Tanzu Kubernetes Grid Integrated Edition.
See Installing and Configuring NSX-T Data Center v3.0 for Tanzu Kubernetes Grid Integrated Edition. Then return here to the TKGI v1.9 docs and continue with the next step.
Prepare the vSphere and NSX infrastructure for the Tanzu Kubernetes Grid Integrated Edition Management Plane where Ops Manager, BOSH Director, Tanzu Kubernetes Grid Integrated Edition components, and Harbor Registry are deployed. This includes creating a vSphere resource pool for Tanzu Kubernetes Grid Integrated Edition management components, an NSX Tier-1 (T1) Logical Switch, an NSX Tier-1 Logical Router and Port, and NAT rules (if you are using NAT mode).
For instructions, see Create Management Plane in Installing and Configuring NSX-T Data Center v3.0 for TKGI.
Create vSphere Resource Pools for the Availability Zones where you will deploy Kubernetes clusters. These resource pools map to the AZs you will create when you configure BOSH Director and reference when you install the Tanzu Kubernetes Grid Integrated Edition tile.
Create IP blocks for the node networks and the pod networks. Typically the initial subnets for both nodes and pods will have a size of 256 (/16).
Create a Floating IP Pool from which to assign routable IP addresses to components. This network provides your load balancing address space for each Kubernetes cluster created by Tanzu Kubernetes Grid Integrated Edition. The network also provides IP addresses for Kubernetes API access and Kubernetes exposed services.
For instructions, see Create IP Blocks and Pool for Compute Plane in Installing and Configuring NSX-T Data Center v3.0 for TKGI.
Deploy a supported version of Ops Manager on the NSX Management Plane network.
For instructions, see Deploying Ops Manager with NSX for Tanzu Kubernetes Grid Integrated Edition.
Generate the CA Cert for the NSX Manager and import the certificate to NSX Manager.
For instructions, see Generate and Register the NSX-T Management SSL Certificate and Private Key.
Create BOSH availability zones (AZs) that map to the Management and Compute resource pools in vSphere, and the Management and Control plane networks in NSX.
For instructions, see Configuring BOSH Director with NSX for Tanzu Kubernetes Grid Integrated Edition.
Generate the NSX Manager Super User Principal Identity Certificate and register it with the NSX Manager using the NSX API.
For instructions, see Generating and Registering the NSX Manager Superuser Principal Identity Certificate and Key.
At this point your NSX environment is prepared for Tanzu Kubernetes Grid Integrated Edition installation using the Tanzu Kubernetes Grid Integrated Edition tile in Ops Manager.
For instructions, see Installing Tanzu Kubernetes Grid Integrated Edition on vSphere with NSX.
The VMware Harbor Registry is recommended for Tanzu Kubernetes Grid Integrated Edition. Install Harbor in the NSX Management Plane with other Tanzu Kubernetes Grid Integrated Edition components, such as the TKGI API and TKGI database, Ops Manager, and BOSH.
If you are using the NAT deployment topology, create a DNAT rule that maps the private Harbor IP address to a routable IP address from the floating IP pool on the TKGI management network. See Create DNAT Rule.
For instructions, see Installing VMware Harbor Registry.
See Installing the TKGI CLI and Installing the Kubernetes CLI.
See Setting Up Tanzu Kubernetes Grid Integrated Edition Admin Users on vSphere
Create a Kubernetes cluster using the TKGI CLI. For instructions, see Create a Kubernetes Cluster.
Deploy a simple workload to the Kubernetes cluster. For instructions, see Deploy Workloads on vSphere with NSX.
After you have installed Tanzu Kubernetes Grid Integrated Edition on vSphere with NSX, refer to the following subsection for topics describing additional NSX configuration options: Advanced Configurations for Tanzu Kubernetes Grid Integrated Edition on vSphere with VMware NSX
Network profiles let you provide customized deployment templates for Kubernetes clusters. See Network Profiles (NSX Only) for details.