Blog#50: Installing Apps on a TKG Cluster from Tanzu Application Catalog (TAC)

I am very happy to write my 50th blog on Tanzu Portfolio and really enjoyed exploring and writing about this portfolio.

In todays blog, i will be talking about deploying application on a TKG cluster available on Tanzu Application Catalog.

What is Tanzu Application Catalog (TAC) ?

VMware Tanzu Application Catalog is a customizable selection of open source software from the Bitnami collection that is continuously maintained and verifiably tested for use in production environments. (Source -> TAC documentation).

TAC is available as SaaS solution from VMware as of today. TAC provides several application images out of the box e.g. Jenkins etc that we can deploy from, Also, we can submit application image creating based on different images option available under TAC.

TAC support different type of base images (Ubuntu, Debian etc) and also we can bring our own custom image. Here are the image options from TAC.

There are also different application software available on TAC that you can use to along with base image to create an app image, Here are few.

Also there are several application images and helm charts available out of the box, Here are few.

As you can see, There are different applications that we can install. Also, there are different filter for us to search the right application image.

There are few more key features of TAC here that i want to talk about:

Test Result

TAC test the images across different platforms and also publishes the test result. You can Click on Details option for application image and look for Download option under Test Result. You will see a tar file. After extracting tar file, you can find the test result files. e.g.

You can open xml files and see different test ran.

Asset Report

TAC also keeps asset report for application container image that shows us the list of components installed on particular image. Go to the Details option and then Download Asset Report. you will get a json file and once you open, you can see the list of softwares added in particular image.

“Just few lines are shown in this screenshot”

In this demonstration, i will be using existing Jenkins application image and automation from TAC and install it on a TKG Cluster.

Installation Pre-requirements

– TKG Cluster is up and running

– TAC Access is available

– Helm3 client is installed on your local system

Installation Steps

– After logging into TAC, Navigate to Applications section and look for Jenkins.

– Click on Details Option

– Verify the details

You can see different details here like base image, version etc.

– You will see commands to run under Consume your helm chart section.

$ helm repo add tac https://charts.trials.tac.bitnami.com/demo
"tac" has been added to your repositories

$ helm install tac/jenkins --generate-name --version 8.0.9
NAME: jenkins-1634750236
LAST DEPLOYED: Wed Oct 20 10:17:18 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
** Please be patient while the chart is being deployed **

1. Get the Jenkins URL by running:

** Please ensure an external IP is associated to the jenkins-1634750236 service before proceeding **
** Watch the status using: kubectl get svc --namespace default -w jenkins-1634750236 **

  export SERVICE_IP=$(kubectl get svc --namespace default jenkins-1634750236 --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}")
  echo "Jenkins URL: http://$SERVICE_IP/"

2. Login with the following credentials

  echo Username: user
  echo Password: $(kubectl get secret --namespace default jenkins-1634750236 -o jsonpath="{.data.jenkins-password}" | base64 --decode)

– You can follow instructions to access Jenkins.

That’s all here. Also, You can follow the same installation process can be followed on any other Kubernetes distribution.

Reference Link

TAC doc: https://docs.vmware.com/en/VMware-Tanzu-Application-Catalog/services/tac-docs/GUID-index.html

TKG doc: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/index.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s