Follow these instructions to set up the standard package repository on a TKG Service cluster that is running TKr for vSphere 8.x.

Requirements

Adhere to the following requirements before you create the package repository.

Install Carvel imgpkg

The Carvel imgpkg (https://carvel.dev/imgpkg/) tool lets you browse the available versions of the standard package repository. The repository is public so you do not need to log in.

Complete these steps to install Carvel imgpkg.
  1. Install imgpkg using the following command.
    wget -O- https://carvel.dev/install.sh > install.sh
    sudo bash install.sh
  2. Verify installation.
    imgpkg version
    Sample result:
    imgpkg version 0.42.1
  3. List the repository versions by running the following command.
    imgpkg tag list -i projects.registry.vmware.com/tkg/packages/standard/repo
    This command returns the available standard package repository versions.
    Tags
    
    Name
    ...
    v2024.4.12
    v2024.4.19
    v2024.5.14
    v2024.5.16
    
    39 tags
    
    Succeeded

Create the Package Repository

Log in to the TKG cluster and create the package repository.
  1. Log in to the cluster.
    kubectl vsphere login --server=IP-or-FQDN --vsphere-username USER@vsphere.local --tanzu-kubernetes-cluster-name CLUSTER --tanzu-kubernetes-cluster-namespace VSPHERE-NS
  2. Create the package repository.
    tanzu package repository add standard-repo --url projects.registry.vmware.com/tkg/packages/standard/repo:v2024.5.16 -n tkg-system
    Note: Change the repository version string to match the target repository version.
  3. List the available packages.
    tanzu package available list -n tkg-system
    Note: Not all packages in the repository are supported on TKG clusters. Refer to the official list of supported packages: Standard Packages for TKG Service Clusters.
  4. List the available versions for an individual package.

    Cert Manager

    tanzu package available get cert-manager.tanzu.vmware.com -n tkg-system

    Contour

    tanzu package available get contour.tanzu.vmware.com -n tkg-system

    External DNS

    tanzu package available get external-dns.tanzu.vmware.com -n tkg-system

    Fluent Bit

    tanzu package available get fluent-bit.tanzu.vmware.com -n tkg-system

    Grafana

    tanzu package available get grafana.tanzu.vmware.com -n tkg-system

    Prometheus

    tanzu package available get prometheus.tanzu.vmware.com -n tkg-system