Creating Clusters on vSphere
Before you begin
Ensure that your subnets do not overlap. The list of subnets to consider are:
-
172.17.0.0/16: Docker Bridge uses this default subnet for networking. You can change the Default Docker Bridge IP address during cluster deployment.
-
10.96.0.0/12: This subnet is defined as
--service-cluster-ip-range
in each guest cluster. Kubernetes allocates and assigns IP addresses from this subnet for Kubernetes services. You cannot change the Kubernetes cluster IP address range. -
Routable CIDR subnet: The routable CIDR subnet for node and load balancer services. The subnet is defined during cluster deployment.
-
Pod subnet: This subnet applies to the ACI-CNI and Calico options. The IP addresses for the pods are assigned from this subnet. The subnet is defined either in the ACI-CNI profile for the ACI-CNI option or during cluster deployment for the Calico CNI option.
-
Service subnet: This subnet applies to the ACI-CNI option. Cisco Container Platform assigns each Kubernetes node an IP address from this subnet. It is used by ACI as PBR target for Kubernetes services of type load balancer. By default, this subnet is part of the same ACI VRF as the pod subnet and the Routable CIDR subnet.
-
ACI infrastructure network: This subnet applies to the ACI-CNI option.
Procedure
Step 1 |
In the left pane, click Clusters, and then click the vSphere tab. |
||||||||
Step 2 |
Click NEW CLUSTER. |
||||||||
Step 3 |
In the Basic Information screen: |
||||||||
Step 4 |
In the Provider Settings screen: |
||||||||
Step 5 |
In the Node Configuration screen:
|
||||||||
Step 6 |
For v2 clusters, to integrate Harbor with Cisco Container Platform:
|
||||||||
Step 7 |
In the Summary screen, verify the configuration, and then click FINISH. The cluster deployment takes a few minutes to complete. The newly created cluster is displayed on the Clusters screen. For more information on deploying applications on clusters, see Deploying Applications on Kubernetes Clusters. |