Configuring NSX-T Data Center for vSphere with Tanzu
vSphere with Tanzu requires specific networking configuration to allow you to connect to the Supervisor Clusters, vSphere Namespaces, and all objects that run inside the namespaces.
Follow the instructions for installing and configuring the NSX-T Data Center for managing Kubernetes workloads documented in the vSphere with Tanzu Configuration and Management guide.
First, you need to create a vSphere Distributed Switch and a distributed port group for each NSX Edge uplink. To programmatically achieve this step, use the Web Services APIs as described in the vSphere Web Services SDK Programming Guide. Then, you can use the NSX-T Data Center REST APIs to add a compute manager, create transport zones, and perform other steps required for configuring the NSX-T Data Center for vSphere with Tanzu.