Multiple subnets for one VNET to build AZURE TKG 1.5.4 clusters
book
Article ID: 337410
calendar_today
Updated On:
Products
VMware Tanzu Kubernetes Grid
Issue/Introduction
Symptoms: Building an AZURE TKG cluster on version 1.5.4 cannot be completed when having mulitiple VNET adress spaces (one for control-plane and one for workers) that are not part of the same CIDR. Reporting the below error fromTanzu CLI spec.networkSpec.subnets[1].cidrBlocks: Invalid value: \"XX.XX.XX.XX/XX\": subnet CIDR not in vnet address space: [XX.XX.XX.XX/XX]
Environment
VMware Tanzu Kubernetes Grid 1.x
Cause
It is not allowed to config multiple VNET CIDRs in Tanzu cli config file.
Resolution
This issue will be fixed in the future TKG release with clusterClass support