To configure a vSphere cluster as a Supervisor Cluster that uses the vSphere networking stack, you must add the hosts to a vSphere Distributed Switch. You must create port groups on the distributed switch that you will configure as Workload Networks to the Supervisor Cluster.
- In the vSphere Client, navigate to a data center.
- Right click the data center and select .
- Enter a name for the switch, for example Workload Distributed Switch and click Next.
- Select version 7.0 for the switch and click Next.
- In Port group name, enter Primary Workload Network, click Next, and click Finish.
A new distributed switch with one port group is created on the data center. You can use this port group as the Primary Workload Network for the Supervisor Cluster that you will create. The Primary Workload Network handles the traffic for Kubernetes control plane VMs.
- Create distributed port groups for Workload Networks.
The number of port groups that you create depends on the topology that you want to implement for the Supervisor Cluster. For a topology with one isolated Workload Network, create one distributed port group that you will use as a network for all namespaces on the Supervisor Cluster. For a topology with isolated networks for each namespace, create the same number of port groups as the number of namespaces that you will create.
- Navigate to the newly-created distributed switch.
- Right-click the switch and select .
- Enter a name for the port group, for example Workload Network and click Next.
- Leave the defaults, click Next and click Finish.
- Add hosts from the vSphere clusters that you will configure as Supervisor Cluster to the distributed switch.
- Right-click the distributed switch and select Add and Manage Hosts.
- Select Add and Hosts.
- Click New Hosts, select the hosts from the vSphere cluster that you will configure as a Supervisor Cluster, and click Next.
- Select a physical NIC from each host and assign it an uplink on the distributed switch.
- Click Next through the remaining screens of the wizard and click Finish.
The hosts are added to the distributed switch. You can now use the port groups that you created on the switch as Workload Networks of the Supervisor Cluster.