This topic describes how to install Application Live View for VMware Tanzu. You must install a Kubernetes cluster on a cloud platform provider, install command line tools, configure your cluster, and download Application Live View before installing. You install Application Live View on a Kubernetes cluster.

Below components are part of this package:

  • Application Live View Server
  • Application Live View Connector
  • Application Live View CRD Controller

Prerequisites

The following prerequisites are required to install Application Live View:

  • Kubernetes v1.17 or later
  • Kapp-controller v0.17.0 or later To download kapp-controller, see the Install in the Carvel documentation.
  • Command line tools. The following command line tools are required:
    • kubectl (v1.17 or later)
    • kapp (v0.37.0 or later)
    • ytt (v0.34.0 or later)
    • imgpkg (v0.14.0 or later)
    • kbld (v0.30.0 or later)
  • Tanzu Cli should be installed and package plugin enabled

The steps for new users are:

  1. Ask your VMware representative to sign you up to our Beta program using your Tanzu Network email. To create an account, see Create Your VMware Account.
  2. Visit our Application Live View for VMware Tanzu product page on Tanzu Network while logged in and confirm that you can see Release 0.1.0. If prompted, also accept the EULA.


Kubernetes Cluster

Run the following commands to verify the cluster configuration:

kubectl config current-context
kubectl cluster-info


Download the Application Live View installation bundle

NOTE: If you have not accepted the EULA for the Application Live View release you are about to install, then you should log in to the Tanzu Network and then go to App Live View for VMware Tanzu product page. On the page for the latest release there should be a EULA to accept, unless you already have accepted it.

You need to be authenticated to the TanzuNet registry.

Run the following command and provide your username and password at the prompts:

docker login registry.pivotal.io

Now, pull the installation bundle:

imgpkg pull -b registry.pivotal.io/app-live-view/application-live-view-install-bundle:0.1.0 \
  -o /tmp/application-live-view-install-bundle


Create a namespace

Run this kubectl command:

kubectl create namespace app-live-view


Add registry credentials in values.yaml

Edit /tmp/application-live-view-install-bundle/values.yaml and add your credentials for registry.pivotal.io:

#@data/values
---
registry:
  server: registry.pivotal.io
  username: <enter username here>
  password: <enter password here>


Deploy Application Live View

Use the following command to deploy the bundle:

ytt -f /tmp/application-live-view-install-bundle/config -f /tmp/application-live-view-install-bundle/values.yaml \
| kbld -f /tmp/application-live-view-install-bundle/.imgpkg/images.yml -f- \
| kapp deploy -y -n app-live-view -a application-live-view -f-

Note: You can also enter your registry credentials as arguments to the ytt command (without entering credentials in values.yaml). Add registry.username and registry.password args with your credentials as shown below:

ytt -f /tmp/application-live-view-install-bundle/config -f /tmp/application-live-view-install-bundle/values.yaml -v registry.server='registry.pivotal.io' -v register.username='your username' -v registry.password='your password' \
| kbld -f /tmp/application-live-view-install-bundle/.imgpkg/images.yml -f- \
| kapp deploy -y -n app-live-view -a application-live-view -f-


Access the Application Live View UI

List the resources deployed in the app-live-view namespace:

kubectl get -n app-live-view service,deploy,pod

You should see something like this:

NAME                                 TYPE           CLUSTER-IP     EXTERNAL-IP                                                                PORT(S)          AGE
service/application-live-view-5112   LoadBalancer   10.99.110.84   ae27a3a69e8e34e35835619eb13ed59f-1054315375.ap-south-1.elb.amazonaws.com   5112:31297/TCP   2m32s
service/application-live-view-7000   ClusterIP      10.110.2.178   <none>                                                                     7000/TCP         2m33s

NAME                                                   READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/application-live-view-connector        1/1     1            1           2m33s
deployment.apps/application-live-view-crd-controller   1/1     1            1           2m33s
deployment.apps/application-live-view-server           1/1     1            1           2m33s

NAME                                                        READY   STATUS    RESTARTS   AGE
pod/application-live-view-connector-76b78c79-pbfbk          1/1     Running   0          2m32s
pod/application-live-view-crd-controller-54f4fc9687-cg9r8   1/1     Running   0          2m32s
pod/application-live-view-server-6bfc949b8-6qsg6            1/1     Running   0          2m33s

You can access the Application Live View UI using the listed EXTERNAL-IP address for the service application-live-view-5112

You can access the server at: http://ae27a3a69e8e34e35835619eb13ed59f-1054315375.ap-south-1.elb.amazonaws.com:5112

In case of running local Kubernetes cluster using kind, port-forward the application-live-view-5112 service in a separate terminal:

kubectl -n app-live-view port-forward service/application-live-view-5112 5112:5112

Then you can access the server at http://localhost:5112

check-circle-line exclamation-circle-line close-line
Scroll to top icon