This section describes how to use VMware Tanzu Application Catalog (Tanzu Application Catalog) for Tanzu Advanced. It explains how to sign in, obtain your registry credentials, and start using containers and Helm charts on your local machine via Docker or Helm.
Tanzu Application Catalog for Tanzu Advanced enables organizations to simplify delivery and deployment of custom applications on Kubernetes. Tanzu Application Catalog for Tanzu Advanced provides a catalog based on a hardened base image (Ubuntu 22.04) which can be accessed and consumed by all the users. All containers and Helm charts are stored in a common registry. You can access this by using your account credentials.
Ensure:
You have access to the VMware Cloud Services Portal (CSP).
If you are not subscribed to Tanzu Application Catalog for Tanzu Advanced, see Tanzu Application Catalog.
To get started with Tanzu Application Catalog for Tanzu advanced, follow the steps as explained in the sections below:
Go to Tanzu Application Catalog and sign in using your VMware Account.
Tanzu Application Catalog has an extensive collection of continuously maintained and tested container images and Helm charts.
NoteThe actions you can perform after you log in are based on the roles assigned to your account. There are two types of roles:
To view which role is assigned to you:
To browse the Tanzu Application Catalog:
A list of all the applications available on Tanzu Application Catalog appears.
These applications are continuously updated and so that you can consume them for development and deployment.
To browse the extensive list of contain images available on Tanzu Application Catalog, on the left pane, click the Container Image filter. List of all the container images available on Tanzu Application Catalog is displayed with the following information:
If a container image has more than one version, you also see the different versions available for that image:
You can use the following filters to search the container of your choice in the catalog:
Clicking on the “Details” link next to a container image displays the following additional information:
An example of a container image detail page is shown below:
To browse the extensive list of Helm charts available on Tanzu Application Catalog, on the left pane, click the Helm Chart filter. List of all the Helm charts available on Tanzu Application Catalog is displayed with the following information:
You can use the following filters to search the Helm charts of your choice in the catalog:
The following image shows the catalog filtered by type, operating system, and status:
You can view the following information when you click “Details” next to a Helm chart:
An example of a Helm chart detail page is shown below:
You can inspect the Helm chart’s dependencies by clicking the container images shown in the “Dependencies” section. This redirects to the container details page (described in the previous section).
Before using the Tanzu Application Catalog for Tanzu Advanced, it is necessary to obtain credentials for the Tanzu Application Catalog registry. These credentials allow you to access the registry, and pull the container images and Helm charts.
Follow these steps:
On the “Tanzu Advanced Registry” tile, click “DETAILS”.
In the “Registry Credentials” tab, click “GENERATE NEW CREDENTIALS”.
In the resulting dialog box, enter a description for the new credentials. Click “GENERATE THE NEW CREDENTIALS”.
The credentials are generated and displayed.
Note the username and token, or click “Download as JSON file” to download them as a JSON file.
NoteThese credentials will not be displayed again, so ensure that you download or copy them to a secure location, as you will need them in subsequent steps.
The Tanzu Application Catalog builds trusted and continuously maintained content that can be consumed in many different ways. The easiest way to get started is to use Tanzu Application Catalog container images and Helm charts in your local development environment using the Docker or Helm CLI.
To use a container image from the Tanzu Application Catalog:
Copy and execute the commands found for that release, in the “Consume your Container” section, as shown below:
Here is an example of how to run a Tanzu Application Catalog container image for MySQL. Enter the registry credentials obtained in Step 3 when prompted.
$ docker login registry.pivotal.io/tac-for-tanzu-advanced/containers
$ docker run --rm registry.pivotal.io/tac-for-tanzu-advanced/containers/mysql@sha256:0090965aef191c9bd49f3d7ac93657f1e0257b1c4fc5ade87b82bfcf87408bd3
Before deploying a Helm chart from Tanzu Application Catalog for Tanzu Advanced, it is necessary to create a Kubernetes ImagePullSecret for registry.pivotal.io/tac-for-tanzu-advanced with the registry credentials obtained in Step 3.
Here is an example of how to create an ImagePullSecret. Replace the USERNAME andTOKEN placeholders with the registry credentials obtained in Step 3.
$ kubectl create secret docker-registry tac4adv \
--docker-server https://registry.pivotal.io/tac-for-tanzu-advanced \
--docker-username 'USERNAME' \
--docker-password 'TOKEN'
Charts can then be deployed either by adding the global.imagePullSecrets[0]=SECRET-NAME parameter to each Helm deployment command, or by configuring the ImagePullSecret globally.
To use a Helm chart from the Tanzu Application Catalog:
Copy and execute the commands found for that release, in the “Consume your Helm chart” section, as shown below:
Here is an example of how to deploy a Tanzu Application Catalog Helm chart for Apache Kafka using the ImagePullSecret created earlier:
If you are using Helm CLI version older than 3.7.0
$ export HELM_EXPERIMENTAL_OCI=1
$ helm registry login registry.pivotal.io/tac-for-tanzu-advanced/charts
$ helm chart pull registry.pivotal.io/tac-for-tanzu-advanced/charts/kafka:12.2.1
$ helm chart export registry.pivotal.io/tac-for-tanzu-advanced/charts/kafka:12.2.1
$ helm install kafka/ --generate-name --set "global.imagePullSecrets[0]=tac4adv"
If you are using Helm CLI version 3.7.0 or later
$ export HELM_EXPERIMENTAL_OCI=1
$ helm registry login registry.pivotal.io/tac-for-tanzu-advanced/charts
$ helm install oci://registry.pivotal.io/tac-for-tanzu-advanced/charts/kafka --version 12.2.1 --generate-name --set "global.imagePullSecrets[0]=tac4adv"
You should now have a good understanding of how to begin using the Tanzu Application Catalog for Tanzu Advanced, including browsing the catalog, obtained detailed information on container images and Helm charts and using these artifacts for development.