Tanzu Kubernetes Grid 1.2.1 fails to deploy clusters after upgrade from 1.1.x
search cancel

Tanzu Kubernetes Grid 1.2.1 fails to deploy clusters after upgrade from 1.1.x

book

Article ID: 316954

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid 1.x

Issue/Introduction

Symptoms:
  • You see a message similar to the following when attempting to deploy a TKG 1.2 cluster:

Error: : workload cluster configuration validation failed: vSphere config validation failed: vSphere node size validation failed: the minimum requirement of VSPHERE_CONTROL_PLANE_NUM_CPUS is 2

  • Your TKG 1.2.1 installation was upgraded from a 1.1.x version.



Resolution

This issue can occur when the VSPHERE_CONTROL_PLANE_NUM_CPUS parameter is set to "1" in the .tkg/config.yaml file or as an environment variable. The minimum number of CPUs for a Kubernetes node in TKG 1.2.1 is 2. You may also see similar behavior for the VSPHERE_WORKER_NUM_CPUS parameter is set to "1".

Set the VSPHERE_CONTROL_PLANE_NUM_CPUS and/or  VSPHERE_WORKER_NUM_CPUS parameters to "2" or higher. You can also unset thes values and the Kubernetes nodes will be sized according to the Instance Type selected during installation.