Error: numCoresPerSocket Variable Schema Validation
search cancel

Error: numCoresPerSocket Variable Schema Validation

book

Article ID: 402354

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

Upgraded TCA from version 3.0 to 3.2. While attempting to create a Workload Cluster using the TCA API, the following validation errors were encountered:

  • controlPlane.machine.numCoresPerSocket is not defined in the variable schema for the controlPlane object

  • worker.machine.numCoresPerSocket is not defined in the variable schema for the worker object

Environment

3.2

Cause

The tbr-bom is coupled with specific Kubernetes versions and an expected ClusterClass version 

Resolution

In the cluster.json file, change 

from:

topology
  class: tkgvsphere-default-v1.1.0


to:

topology
  class: tkgvsphere-default-v1.2.0 

Additional Information

  • TBR is not just about Kubernetes version—it also pins the ClusterClass version.

  • You cannot freely mix and match TBRs and ClusterClasses. If you pick a TBR, you're also choosing the ClusterClass version that comes with it.

  • The TBR acts as a single source of truth for deploying consistent clusters in TCA.