Refer to the example YAML to provision a default TanzuKubernetesCluster using the v1alpha3 API.

v1alpha3 Example: Default TanzuKubernetesCluster

The example YAML provisions a default TanzuKubernetesCluster using the v1alpha3 API.

This example shows the minimum configuration required to provision a TKC. The default network and storage settings are used and therefore excluded from the YAML. The referenced TKR is used for both the control plane and worker nodes.
apiVersion: run.tanzu.vmware.com/v1alpha3
kind: TanzuKubernetesCluster
metadata:
  name: tkc-default
  namespace: tkg-cluster-ns
spec:
  topology:
    controlPlane:
      replicas: 3
      vmClass: guaranteed-medium
      storageClass: tkg-storage-policy
      tkr:
        reference:
          name: v1.25.7---vmware.3-fips.1-tkg.1
    nodePools:
    - replicas: 3
      name: worker
      vmClass: guaranteed-medium
      storageClass: tkg-storage-policy