Installing VMware Tanzu Kubernetes Grid Integrated Edition on vSphere with NSX-T requires the creation of NSX IP blocks for Kubernetes node and pod networks, as well as a Floating IP Pool from which you can assign routable IP addresses to cluster resources.
Create separate NSX-T IP Blocks for the node networks and the pod networks. The subnets for both nodes and pods should have a size of 256 (/16). For more information, see Plan IP Blocks and Reserved IP Blocks. For more information about NSX-T IP Blocks, see Advanced IP Address Management in the VMware NSX-T Data Center documentation.
In addition, 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 example, 10.172.2.0/24
provides 256 usable IPs. This network is used when creating the virtual IP pools, or when the services are deployed. You enter this network in the Floating IP Pool ID field in the Networking pane of the Tanzu Kubernetes Grid Integrated Edition tile.
Complete the following instructions to create the required NSX-T network objects.
In NSX-T Manager, go to Advanced Networking & Security > Networking > IPAM.
Add a new IP Block for Kubernetes Nodes. For example:
Verify creation of the Nodes IP Block.
Record the UUID of the Nodes IP Block object. You use this UUID when you install Tanzu Kubernetes Grid Integrated Edition with NSX-T.
In NSX-T Manager, go to Advanced Networking & Security > Networking > IPAM.
Add a new IP Block for Pods. For example:
Verify creation of the Pods IP Block.
Record the UUID of the Pods IP Block object. You use this UUID when you install Tanzu Kubernetes Grid Integrated Edition with NSX-T.
In NSX-T Manager, go to Advanced Networking & Security > Inventory > Groups > IP Pool.
Add a new Floating IP Pool. For example:
Verify creation of the Floating IP Pool.
Get the UUID of the Floating IP Pool object. You use this UUID when you install Tanzu Kubernetes Grid Integrated Edition with NSX-T.
After you complete this procedure, follow the instructions in Installing Tanzu Kubernetes Grid Integrated Edition on vSphere with NSX-T.