Before you can begin to use VMware Cloud Director Extension for VMware Tanzu Mission Control, it is necessary to create a Tanzu Kubernetes Grid cluster in the solution organization that can host the solution add-on.
Parameter | Detail |
---|---|
Name | tmc |
Control Plane | |
Number of Nodes | 3 |
Sizing Policy | TKG Large |
Worker Pool | |
Number of Nodes | 3 |
Sizing Policy | TKG Extra-Large |
Kubernetes Storage | Configure the storage class to use the preferred storage policy for persistent volumes. |
Update Existing Clusters to host VMware Cloud Director Extension for VMware Tanzu Mission Control
If you are using a cluster that was created before VMware Cloud Director Container Service Extension 4.2 with Tanzu Kubernetes Grid 2.x to host VMware Cloud Director Extension for VMware Tanzu Mission Control, it is necessary to perform a manual update on these clusters to add the Tanzu-Standard Package Repository into the Packaging Global Namespace.
- Enter the following command in kubectl, and verify if a
tanzu-standard
resource appears in thekapp-controller-packaging-global
namespace.kubectl get PackageRepositories -A
Note: An entry in thetkg-system
namespace does not fulfill the requirement.Note: Clusters created on Tanzu Kubernetes Grid 1.x will display that thetanzu-standard PackageRepository
is available in thetanzu-package-repo-global
namespace. This is a valid configuration. - If a
tanzu-standard
resource does not appear in thekapp-controller-packaging-global
namespace, enter the following command in kubectl to create the appropriate resource.cat <<EOF | kubectl create -f - apiVersion: packaging.carvel.dev/v1alpha1 kind: PackageRepository metadata: name: tanzu-standard namespace: kapp-controller-packaging-global spec: fetch: imgpkgBundle: image: projects.registry.vmware.com/tkg/packages/standard/repo:v2.2.0 EOF
This command displays anAlreadyExists
error if the appropriate resource already exists.
kubectl patch -n kapp-controller-packaging-global PackageRepository/tanzu-standard --type='json' -p='[{"op": "replace", "path": "/spec/fetch/imgpkgBundle/image", "value":"base.myregistry.company.com/tkg/packages/standard/repo:v2.2.0"}]'
Update the Kubernetes Components of the Cluster
To ensure this cluster is upgradeable to Tanzu Kubernetes Grid 2.3.1 or 2.4, it is necessary to run the cluster-upgrade-script
to update the cluster Kubernete components to the compatible versions. For more information, see Upgrade Kubernetes Components in VMware Cloud Director Container Service Extension Clusters.