This topic describes how to install Application Live View from the Tanzu Application Platform package repository.
Application Live View installs three packages for full
, light
, and iterate
profiles:
-
For the
view
profile, Application Live View installs Application Live View Backend package (backend.appliveview.tanzu.vmware.com
). This installs the Application Live View Backend component with Tanzu Application Platform GUI inapp-live-view
namespace. -
For the
run
profile, Application Live View installs Application Live View Connector package (connector.appliveview.tanzu.vmware.com
). This installs the Application Live View Connector component as DaemonSet inapp-live-view-connector
namespace. -
For the
build
profile, Application Live View installs Application Live View Conventions package (conventions.appliveview.tanzu.vmware.com
). This installs the Application Live View Convention Service inapp-live-view-conventions
namespace.
Note: Use the instructions on this page if you do not want to use a profile to install packages. For more information about profiles, see About Tanzu Application Platform package and profiles.
Before installing Application Live View, complete all prerequisites to install Tanzu Application Platform. For more information, see Prerequisites.
In addition, install Convention Controller from the Tanzu Application Platform package repository. For more information, see (https://docs-staging.vmware.com/en/draft/Tanzu-Application-Platform/1.2/tap/GUID-convention-service-install-conv-service.html).
You can install Application Live View in single cluster or multicluster environment:
-
Single cluster
: All Application Live View components are deployed in a single cluster. The user can access Application Live View plug-in information of the applications across all the namespaces in the Kubernetes cluster. This is the default mode of Application Live View. -
Multicluster
: In a multicluster environment, the Application Live View Backend component is installed only once in a single cluster and exposes a RSocket registration for the other clusters using Tanzu shared ingress. Each cluster continues to install the connector as a DaemonSet. The connectors are configured to connect to the central instance of the Application Live View Backend.
To install Application Live View Backend:
-
List version information for the package by running:
tanzu package available list backend.appliveview.tanzu.vmware.com --namespace tap-install
For example:
$ tanzu package available list backend.appliveview.tanzu.vmware.com --namespace tap-install - Retrieving package versions for backend.appliveview.tanzu.vmware.com... NAME VERSION RELEASED-AT backend.appliveview.tanzu.vmware.com 1.2.0-build.1 2022-06-01T00:00:10Z
-
(Optional) Change the default installation settings by running:
tanzu package available get backend.appliveview.tanzu.vmware.com/VERSION-NUMBER --values-schema --namespace tap-install
Where
VERSION-NUMBER
is the version of the package listed. For example,1.2.0-build.1
.For example:
$ tanzu package available get backend.appliveview.tanzu.vmware.com/1.2.0-build.1 --values-schema --namespace tap-install
For more information about values schema options, see the properties listed earlier.
-
Create
app-live-view-backend-values.yaml
with the following details:For single cluster environment, use the following values:
ingressEnabled: "false"
For a multicluster environment, use the following values:
ingressEnabled: "true" ingressDomain: ${INGRESS-DOMAIN}
Where
INGRESS-DOMAIN
is the top level domain you use for thetanzu-shared-ingress
service’s external IP address. Theappliveview
subdomain is prepended to the value provided.To configure TLS certificate delegation information for the domain, add the following values to
app-live-view-backend-values.yaml
:tls: namespace: "NAMESPACE" secretName: "SECRET NAME"
Where:
NAMESPACE
is the targeted namespace of TLS secret for the domain.SECRET NAME
is the name of TLS secret for the domain.
You can edit the values to suit your project needs or leave the default values as is.
-
Install the Application Live View Backend package by running:
tanzu package install appliveview -p backend.appliveview.tanzu.vmware.com -v VERSION-NUMBER -n tap-install -f app-live-view-backend-values.yaml
Where
VERSION-NUMBER
is the version of the package listed.For example:
$ tanzu package install appliveview -p backend.appliveview.tanzu.vmware.com -v 1.2.0-build.1 -n tap-install -f app-live-view-backend-values.yaml - Installing package 'backend.appliveview.tanzu.vmware.com' | Getting namespace 'tap-install' | Getting package metadata for 'backend.appliveview.tanzu.vmware.com' | Creating service account 'appliveview-tap-install-sa' | Creating cluster admin role 'appliveview-tap-install-cluster-role' | Creating cluster role binding 'appliveview-tap-install-cluster-rolebinding' | Creating package resource | Package install status: Reconciling Added installed package 'appliveview' in namespace 'tap-install'
Note: The Application Live View Backend component is deployed in
app-live-view
namespace by default. -
Verify the Application Live View Backend package installation by running:
tanzu package installed get appliveview -n tap-install
For example:
tanzu package installed get appliveview -n tap-install \ Retrieving installation details for appliveview... NAME: appliveview PACKAGE-NAME: backend.appliveview.tanzu.vmware.com PACKAGE-VERSION: 1.2.0-build.1 STATUS: Reconcile succeeded CONDITIONS: [{ReconcileSucceeded True }] USEFUL-ERROR-MESSAGE:
Verify that
STATUS
isReconcile succeeded
.
To install Application Live View Connector:
-
List version information for the package by running:
tanzu package available list connector.appliveview.tanzu.vmware.com --namespace tap-install
For example:
$ tanzu package available list connector.appliveview.tanzu.vmware.com --namespace tap-install - Retrieving package versions for connector.appliveview.tanzu.vmware.com... NAME VERSION RELEASED-AT connector.appliveview.tanzu.vmware.com 1.2.0-build.1 2022-06-01T00:00:10Z
-
(Optional) Change the default installation settings by running:
tanzu package available get connector.appliveview.tanzu.vmware.com/VERSION-NUMBER --values-schema --namespace tap-install
Where
VERSION-NUMBER
is the version of the package listed. For example,1.2.0-build.1
.For example:
$ tanzu package available get connector.appliveview.tanzu.vmware.com/1.2.0-build.1 --values-schema --namespace tap-install
For more information about values schema options, see the properties listed earlier.
-
Create
app-live-view-connector-values.yaml
with the following details:For single cluster environment, use the following values:
backend: sslDisabled: "true"
Note: The Application Live View Connector connects to the
cluster-local
back end to register the applications.For a multicluster environment, use the following values:
backend: sslDisabled: "false" host: appliveview.INGRESS-DOMAIN
Where
INGRESS-DOMAIN
is the top level domain the Application Live View Backend exposes by usingtanzu-shared-ingress
for the Connectors in other clusters to reach the back end. Prepend theappliveview
subdomain to the provided value.The
sslDisabled
boolean flag is treated as a string in Kubernetes YAML. Therefore it must be specified indouble-quotes
for the configuration to be picked up.You can edit the values to suit your project needs or leave the default values as is.
Note: Using the HTTP proxy either on 80 or 443 based on SSL config exposes the Backend service running on port 7000. The connector connects to the Backend on port 80/443 by default. Therefore, you are not required to explicitly configure the
port
field. -
Install the Application Live View Connector package by running:
tanzu package install appliveview-connector -p connector.appliveview.tanzu.vmware.com -v VERSION-NUMBER -n tap-install -f app-live-view-connector-values.yaml
Where
VERSION-NUMBER
is the version of the package listed. For example,1.2.0-build.1
.For example:
$ tanzu package install appliveview-connector -p connector.appliveview.tanzu.vmware.com -v 1.2.0-build.1 -n tap-install -f app-live-view-connector-values.yaml | Installing package 'connector.appliveview.tanzu.vmware.com' | Getting namespace 'tap-install' | Getting package metadata for 'connector.appliveview.tanzu.vmware.com' | Creating service account 'appliveview-connector-tap-install-sa' | Creating cluster admin role 'appliveview-connector-tap-install-cluster-role' | Creating cluster role binding 'appliveview-connector-tap-install-cluster-rolebinding' - Creating package resource / Package install status: Reconciling Added installed package 'appliveview-connector' in namespace 'tap-install'
Note: Each cluster installs the connector as a DaemonSet. The connector is configured to connect to the central instance of the Backend. The Application Live View Connector component is deployed in
app-live-view-connector
namespace by default. -
Verify the
Application Live View Connector
package installation by running:tanzu package installed get appliveview-connector -n tap-install
For example:
tanzu package installed get appliveview-connector -n tap-install 5s | Retrieving installation details for appliveview-connector... NAME: appliveview-connector PACKAGE-NAME: connector.appliveview.tanzu.vmware.com PACKAGE-VERSION: 1.2.0-build.1 STATUS: Reconcile succeeded CONDITIONS: [{ReconcileSucceeded True }] USEFUL-ERROR-MESSAGE:
Verify that
STATUS
isReconcile succeeded
.
To install Application Live View Conventions:
-
List version information for the package by running:
tanzu package available list conventions.appliveview.tanzu.vmware.com --namespace tap-install
For example:
$ tanzu package available list conventions.appliveview.tanzu.vmware.com --namespace tap-install - Retrieving package versions for conventions.appliveview.tanzu.vmware.com... NAME VERSION RELEASED-AT conventions.appliveview.tanzu.vmware.com 1.2.0-build.1 2022-06-01T00:00:00Z
-
Install the Application Live View Conventions package by running:
tanzu package install appliveview-conventions -p conventions.appliveview.tanzu.vmware.com -v VERSION-NUMBER -n tap-install
Where
VERSION-NUMBER
is the version of the package listed. For example,1.2.0-build.1
.For example:
$ tanzu package install appliveview-conventions -p conventions.appliveview.tanzu.vmware.com -v 1.2.0-build.1 -n tap-install - Installing package 'conventions.appliveview.tanzu.vmware.com' | Getting namespace 'tap-install' | Getting package metadata for 'conventions.appliveview.tanzu.vmware.com' | Creating service account 'appliveview-conventions-tap-install-sa' | Creating cluster admin role 'appliveview-conventions-tap-install-cluster-role' | Creating cluster role binding 'appliveview-conventions-tap-install-cluster-rolebinding' - Creating package resource \ Package install status: Reconciling Added installed package 'appliveview-conventions' in namespace 'tap-install'
-
Verify the package install for Application Live View Conventions package by running:
tanzu package installed get appliveview-conventions -n tap-install
For example:
tanzu package installed get appliveview-conventions -n tap-install | Retrieving installation details for appliveview-conventions... NAME: appliveview-conventions PACKAGE-NAME: conventions.appliveview.tanzu.vmware.com PACKAGE-VERSION: 1.2.0-build.1 STATUS: Reconcile succeeded CONDITIONS: [{ReconcileSucceeded True }] USEFUL-ERROR-MESSAGE:
Verify that
STATUS
isReconcile succeeded
.
The Application Live View UI plug-in is part of Tanzu Application Platform GUI. To access the Application Live View UI, see Application Live View in Tanzu Application Platform GUI.