The topics in this section explain how to configure workload clusters and use the Tanzu CLI to create the clusters when using Tanzu Kubernetes Grid with a management cluster.
ImportantIf you are using TKG with a vSphere IaaS control plane (formerly vSphere with Tanzu) Supervisor, see the vSphere IaaS control plane docs.
In VMware Tanzu Kubernetes Grid, workload clusters are the Kubernetes clusters in which your application workloads run.
Tanzu Kubernetes Grid automatically deploys clusters to the platform on which you deployed the management cluster. Tanzu Kubernetes Grid automatically deploys clusters from whichever management cluster you have set as the context for the CLI.
You can create two types of workload clusters:
These workload cluster types are described in Workload Cluster Types.
You can deploy workload clusters with the Tanzu CLI after you have deployed a standalone management cluster to vSphere.
ImportantFrom v2.5.1 onwards, Tanzu Kubernetes Grid does not support creating workload clusters on vSphere 6.7. For more information, see End of Support for TKG Management and Workload Clusters on vSphere 6.7.
Before starting the deployment workflow described in this section, ensure:
If you are deploying workload clusters to vSphere, each cluster requires one static virtual IP address to provide a stable endpoint for Kubernetes. Make sure that this IP address is not in the DHCP range, but is in the same subnet as the DHCP range.
Mac OS Bootstrap Machine: If your bootstrap machine runs Mac OS and you deploy a workload cluster using thumbprint verification with a self-signed certificate, as set by configuring VSPHERE_INSECURE: false
and VSPHERE_TLS_THUMBPRINT
, add the vCenter certificate to the machine’s trust store:
From vSphere, download the vCenter certificate .pem file:
Double-click the downloaded file and add it to the MacOS system Keychain as a trusted certificate:
During the cluster deployment process, if MacOS pops up an alert message that the certificate is not trusted, change its policy to Always Trust:
To create a workload cluster with the Tanzu CLI, you:
Complete the prerequisites in Prerequisites for Cluster Deployment above.
Configure the cluster as described in Configuration Files and Object Specs and in vSphere with Standalone Management Cluster Configuration Files.
Create the cluster as described in Create Workload Clusters.
To create workload clusters in other ways, without the Tanzu CLI, see Provisioning Workload Clusters in the Tanzu Mission Control documentation.
Proceed to Configuration Files and Object Specs.