Starting PKS 1.1 network objects, T-1 router, logical switches etc., that host Kubernetes vms are created automatically when pks create-cluster is executed. PKS allocates IP addresses for the nodes when they are created in Kubernetes. The node networks are created on a separate IP address space from the pod networks. These block used for these IP addresses are declared under
Networking on
PKS Tile. Nodes IP Block is defined under Node IP block. Here is the path to reach: Go to
NSX-T Manager, select
DDI, select
IPAM, select
Node IP block. Each cluster uses a subnet size of /24. If you want to create multiple clusters Node IP block subnet size should be a multiple of /24. For example - if the Node IP block has a CIDR 172.26.0.0/16 a maximum of 256 clusters can be created.
createIpBlockSubnetConflict can occur in the following scenarios:
- If Node IP block has a CIDR range of /24 and a second cluster creation is attempted
- If a previous cluster creation attempt has failed and Node IP block has a CIDR range of /24