Application Visualization

Visualizing all the applications running in your clusters is crucial to facilitating its management and troubleshooting; therefore, Lens AppIQ has crafted two (2) app visualization modes to help users list and quickly locate their applications based on:

  • Kubernetes recommended labels. Grouped mode (default).
  • Workload Resources. Ungrouped mode.

Each approach has been designed to cover multiple use cases, and it is up to the user to choose one at a given time. The difference between them is explained below:

Grouped apps: Label-based visualization

When using the Grouped mode, all workload resources running in your cluster are:

  • Filtered based on whether they have the Kubernetes recommended labels as part of their YAML definition (app.kubernetes.io/name). If a workload doesn't have such a label, it is discarded from the view. This allows users to ignore any workload that is not following this practice and avoid polluting the view with workloads like kube-proxy, coredns, or any other related to Kubernetes' control plane that is not in the scope of the app management.
  • Grouped if multiple workloads contain the same label: app.kubernetes.io/instance or app.kubernetes.io/part-of. In such a case, they are considered part of the same application and are logically related in the UI by being displayed as a single app. This strategy allows users to visualize related workloads together and simplify their troubleshooting. This practice is useful for applications that depend on multiple services, for example: a web app (Deployment) and a database (StatefulSet), where both workloads are closely related and you could state the health of a single application depends on both.

To use the Grouped mode, visit the Applications page in your UI and locate the Switch in the top right corner labeled "View: Grouped Apps":

Toggle the Switch ON, to change the visualization mode.

Notice how new items are shown in your list as each workload is described as an individual application. Also, notice how applications without Kubernetes recommended labels are now visible on your screen.

Notice how some apps are filtered out (as they don't implement the recommended label app.kubernetes.io/name, and how some apps are grouping multiple workloads.

Your UI should be updated and reflect only the applications using the recommended labels. By quickly inspecting the object map of our shipa-controller's Deployment, we can see the recommended label stated in its YAML definition, and understand why it is part of this meta-application called shipa-agent

app.kubernetes.io/instance: shipa-agent
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: shipa-controller

Access the application of your choice and inspect the details of each workload composing it.

πŸ“˜

Note

Changing the visualization mode will update other pages in your UI to help represent the reality of your clusters based on such a preference. Visit the Dashboard page, and notice how all statistics and summary are re-arranged to reflect the reality of each individual application

The dashboard reflect the individual apps in all stats shown.

The dashboard reflects the summary of only those apps with the suggested labels

πŸ“˜

Note:

The visualization mode can be changed at any point in time depending on your needs and can be used to locate the application of your preference for further management.

Ungrouped apps: Workload-based visualization

As described in our Concepts, an application in Lens AppIQ is composed of a single Kubernetes workload resource (Deployment, StatefulSet, DaemonSet) and all its associated resources (Services, Secrets, Pods, etc).

The Ungrouped mode follows this principle and displays all available workloads in each cluster as individual applications. This means that if your cluster contains three (3) Deployments (for example), each one of them will be considered an independent app and will be listed in the UI regardless of any other criteria.

To use the Ungrouped mode, visit the Applications page in your UI and locate the Switch in the top right corner labeled "View: Grouped Apps":

Toggle the Switch OFF, to change the visualization mode.

Notice how new items are shown in your list as each workload is described as an individual application. Also, notice how applications without Kubernetes recommended labels are now visible on your screen.

Notice how new items are shown in your list as each workload is described as an individual application. Also, notice how applications without Kubernetes recommended labels are now visible on your screen.

Your UI should be updated and reflect all workloads running in your cluster. Access the application of your choice and see all relevant details.

πŸ“˜

Note

Changing the visualization mode will update other pages in your UI to help represent the reality of your clusters based on such a preference. Visit the Dashboard page, and notice how all statistics and summary are re-arranged to reflect the reality of each individual application

The dashboard reflect the individual apps in all stats shown.

The dashboard reflects the individual apps in all the stats shown.