This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.
This page applies to Dash Enterprise 5.
Lens is a free, open-source tool that offers a graphical user interface for inspecting Kubernetes clusters. Using Lens is an alternative to running
commands against your cluster. We recommend using Lens primarily to examine the status of resources in your cluster—the equivalent
kubectl get commands.
Support bundles can also provide information about the health of the system.
The analysis displayed when you generate a support bundle is determined by Plotly-made analyzers and is specific to
the state of the cluster at the moment you generated it, as are the contents of the support bundle itself,
whereas Lens displays a real-time view of the Kubernetes objects
in your cluster. You don’t need to be experienced with Kubernetes objects to follow the steps in this guide.
Warning: When you select a Kubernetes object in Lens, the Lens interface displays Edit and Delete buttons. Do not edit or delete
anything in the cluster unless instructed by our customer success team. Making changes to Kubernetes objects in Lens could cause discrepancies
between the resources on the cluster and what is displayed in the Dash Enterprise App Manager, among other potential issues.
Lens is available as a desktop app for Windows, Mac, and Linux. Download it from https://k8slens.dev/.
Note: If using a recent version of Lens, you may need to create a Lens ID, which requires an internet connection. Once your ID is
created and you are logged in, you can use Lens even if your workstation does not have internet access.
When you add your Kubernetes cluster to your kubeconfig,
Lens automatically detects your access and adds the cluster to your Lens Catalog.
The Catalog is a list of clusters that you can examine using Lens. The first time you open Lens, you
are prompted to go to the Catalog. Select Browse Clusters in Catalog to view the list of clusters.
Select the Kubernetes cluster that Dash Enterprise is installed on to get started. You can also add it to the hotbar for quick access.
We use core system to refer to the Dash Enterprise components that exclude user-created resources like Dash apps.
We recommend checking the health of the core system after a new installation or upgrade.
The best way to get an overview of core system health is to check the status of the appstack and buildstack. Appstack represents the Dash Enterprise web app
(referred to as the App Manager in documentation for Dash developers), and buildstack represents the set of tools Dash Enterprise uses to build Dash apps and
To check the health of the core system in Lens:
The status for Appstack and Buildstack is displayed.
Tip: This information is also available via the
kubectl get dashenterprise -n plotly-systemcommand.
If both are
healthy, this indicates that your Dash Enterprise instance is running normally.
provisioning status indicates that the appstack or buildstack is in the process of provisioning what it needs to be in a healthy state.
pending status indicates that the appstack or buildstack is waiting for another resource before it can change to a
You can view the status of the individual components that make up the appstack and buildstack by selecting Appstack or Buildstack
from the dash.plotly.com custom resource group.
To view various logs in Lens, you’ll be interacting with pods, which are small, sometimes short-lived Kubernetes objects that represent a set of containers. Resources created from the
Dash Enterprise App Manager, like Dash apps, run inside these containers. By finding the pod corresponding to the resource whose logs you want to view,
you can view the resource’s logs.
Pods that are responsible for app builds are cleaned up when the build finishes, so their logs are only available in Lens for as long as the build is in progress.
If you want to view build logs after a build has completed, view them in Dash Enterprise. From your app’s Info, go to the Builds tab and select Show Build Logs
for the build you want to view.
Known issue: We are aware of an issue where build logs in Dash Enterprise are sometimes incomplete, slow, or out of order.
To view a Dash app’s build logs in Lens:
<app-name>-<ID>-build-1-build-pod, so if
When Dash developers restart or deploy a new version of an app, the system cleans up the pods responsible for running past versions. This means that
app logs in Lens are only available for the latest app version. If you want to see logs that span multiple versions of an app,
view app logs in Dash Enterprise.
To view a Dash app’s runtime logs in Lens:
<app-name>-----<process>-<ID>, so if
Workspace build logs correspond to the logs available to app owners and co-owners in the Workspace tab of the App Info in Dash Enterprise.
To view workspace build logs in Lens:
workspace-<app-name>-<ID>, so if
Workspace debug logs are runtime logs printed by Theia, the framework behind Dash Enterprise Workspaces. These logs are usually not very expansive,
but can sometimes help with debugging.
To view workspace debug logs in Lens:
workspace-<app-name>-<ID>, so if