Use Tanzu Mission Control to add a repository to a managed cluster to enable management of package installations.

When you attach a cluster in Tanzu Mission Control, the Tanzu Standard package repository is available to the cluster by default. If you have additional repositories from which you pull packages, use this procedure to make those repositories available to your cluster. When you add a repository to a cluster, the packages in the repository can be installed in that cluster using the Catalog page in the Tanzu Mission Control console.

Note: To deploy the Tanzu-verified Istio packages to your clusters, use the following repository URL:
{PRIVATE_IMAGE_REGISTRY}/${TMC_PROJECT}/packages/istio-oss-packages:1.22.0-tanzu.1

Prerequisites

This procedure assumes that you have a Kubernetes cluster that is managed (either attached or provisioned) by Tanzu Mission Control.

Before you start this procedure, log in to the Tanzu Mission Control console and make sure you have the appropriate permissions.
  • To add a repository to your cluster, you must be associated with the .admin role on that cluster.

Before you can add the Tanzu-verified Istio package repository to your cluster, you must first copy the images to your local repository, as described in Copy Istio package repository images in Installing and Running VMware Tanzu Mission Control Self-Managed.

Procedure

  1. In the Tanzu Mission Control console, navigate to the cluster detail page of the cluster to which you want to add the repository.
  2. Click the Add-ons tab, and then click Repositories.
    The table on this page shows the package repositories that have been added to the cluster.
  3. Click Add Package Repository.
  4. Provide a name for the repository and the URL at which it resides, and then click Add Repository.