# FAQ

**URL:** https://forums.k8slens.dev/c/all-about-lens2/faq/46.md

[Latest](https://forums.k8slens.dev/latest.md) · [Categories](https://forums.k8slens.dev/categories.md) · [Tags](https://forums.k8slens.dev/tags.md)

---

## [Using WSL and Lens](https://forums.k8slens.dev/t/using-wsl-and-lens/563)

<div class="topic-metadata">

**Author:** [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Replies:** 4\
**Last updated:** [March 3, 2025, 8:50am UTC](https://forums.k8slens.dev/t/using-wsl-and-lens/563 "2025-03-03T08:50:48Z")

</div>

If you have a Windows system with WSL installed and have set up access to a public cloud for connecting to your clusters via kubectl this means you probably have installed the necessary cloud cli tools (such as aws or gc…

---

## [Why I don't see any metrics or some of the metrics are not working?](https://forums.k8slens.dev/t/why-i-dont-see-any-metrics-or-some-of-the-metrics-are-not-working/96)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 5\
**Last updated:** [February 20, 2024, 3:23pm UTC](https://forums.k8slens.dev/t/why-i-dont-see-any-metrics-or-some-of-the-metrics-are-not-working/96 "2024-02-20T15:23:27Z")

</div>

In order to display cluster metrics, Lens requires that Prometheus is running in the cluster. You can install Prometheus in Cluster settings if needed. Lens tries to detect Prometheus installation automatically. If it f…

---

## [Setting up your own metrics on Lens](https://forums.k8slens.dev/t/setting-up-your-own-metrics-on-lens/342)

<div class="topic-metadata">

**Author:** [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 4:35pm UTC](https://forums.k8slens.dev/t/setting-up-your-own-metrics-on-lens/342 "2023-04-13T16:35:06Z")

</div>

Install the prometheus chart from the prometheus-community repo (Prometheus Community Kubernetes Helm Charts | helm-charts). You may need to add it as a custom repo to Lens (you can add custom helm repos by picking Prefe…

---

## [GKE cluster connect error: executable gke-gcloud-auth-plugin not found](https://forums.k8slens.dev/t/gke-cluster-connect-error-executable-gke-gcloud-auth-plugin-not-found/343)

<div class="topic-metadata">

**Author:** [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 5:03pm UTC](https://forums.k8slens.dev/t/gke-cluster-connect-error-executable-gke-gcloud-auth-plugin-not-found/343 "2023-04-13T17:03:44Z")

</div>

If you find you cannot (or no longer) connect to your GKE cluster, and see a message like executable gke-gcloud-auth-plugin not found make sure that you installed the gcloud tools from the same kind of shell that Lens …

---

## [Enabling Lens built-in metrics for an RBAC-limited user](https://forums.k8slens.dev/t/enabling-lens-built-in-metrics-for-an-rbac-limited-user/309)

<div class="topic-metadata">

**Author:** [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 4:29pm UTC](https://forums.k8slens.dev/t/enabling-lens-built-in-metrics-for-an-rbac-limited-user/309 "2023-03-29T16:29:54Z")

</div>

This post shows step-by-step how to apply RBAC rules to enable metrics displays for an already RBAC-limited user. This is a continuation of this post on how to set up RBAC in Lens This demonstration uses the Lens Desktop…

---

## [Lens application is not opening, what might be wrong?](https://forums.k8slens.dev/t/lens-application-is-not-opening-what-might-be-wrong/94)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 11:54am UTC](https://forums.k8slens.dev/t/lens-application-is-not-opening-what-might-be-wrong/94 "2023-04-24T11:54:38Z")

</div>

When Lens is started, it will start HTTP proxy server on the background and requires that operating system allows to start listening to some free port. You can see the port allocated for Lens from application logs. Lens …

---

## [Why is the Namespaces list empty?](https://forums.k8slens.dev/t/why-is-the-namespaces-list-empty/92)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:52pm UTC](https://forums.k8slens.dev/t/why-is-the-namespaces-list-empty/92 "2023-01-30T12:52:03Z")

</div>

By default, a user has access to the default namespace of a cluster. First, try to view all available namespaces by selecting it in the Namespaces drop-down menu on top of the view. If you are still unable to see any of …

---

## [How to set up RBAC in Lens](https://forums.k8slens.dev/t/how-to-set-up-rbac-in-lens/308)

<div class="topic-metadata">

**Author:** [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 4:03pm UTC](https://forums.k8slens.dev/t/how-to-set-up-rbac-in-lens/308 "2023-03-29T16:03:10Z")

</div>

This post shows step-by-step how to set up an RBAC-limited user (via a ServiceAccount resource) from within Lens on a Lens Desktop Kube (LDK) cluster, and how to connect to the cluster as the limited-access user. This sh…

---

## [Lens Pro subscription does not appear in Lens Desktop](https://forums.k8slens.dev/t/lens-pro-subscription-does-not-appear-in-lens-desktop/219)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [March 7, 2023, 7:46am UTC](https://forums.k8slens.dev/t/lens-pro-subscription-does-not-appear-in-lens-desktop/219 "2023-03-07T07:46:54Z")

</div>

You might need to relaunch the application. If it doesn’t help, try the following: Unregister from your Lens Desktop. Perform the offline activation procedure.

---

## [How can I see more verbose logs?](https://forums.k8slens.dev/t/how-can-i-see-more-verbose-logs/99)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 10:05am UTC](https://forums.k8slens.dev/t/how-can-i-see-more-verbose-logs/99 "2023-03-03T10:05:26Z")

</div>

You can start Lens application on debug mode from the command line to see more verbose logs. To start application on debug mode, please provide DEBUG=true environment variable and before starting the application, for exa…

---

## [Cannot connect to a cluster on macOS](https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 1\
**Last updated:** [February 21, 2023, 2:46pm UTC](https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155 "2023-02-21T14:46:32Z")

</div>

If on your macOS device, Lens Desktop cannot connect to a cluster: Delete the node\_modules folder Restart the application.

---

## [Does Lens work over X11?](https://forums.k8slens.dev/t/does-lens-work-over-x11/100)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 1:04pm UTC](https://forums.k8slens.dev/t/does-lens-work-over-x11/100 "2023-01-30T13:04:43Z")

</div>

Lens does not specificially support working over X11 but it has been confirmed to run on a linux system with the UI served on MacOS via XQuartz. A good network connection is required for a responsive UI. If a blank X Win…

---

## [Where can I find application logs?](https://forums.k8slens.dev/t/where-can-i-find-application-logs/98)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 1:02pm UTC](https://forums.k8slens.dev/t/where-can-i-find-application-logs/98 "2023-01-30T13:02:02Z")

</div>

Lens will store application logs to the following locations depending on your operating system: MacOS: ~/Library/Logs/Lens/ Windows: %USERPROFILE%\\AppData\\Roaming\\Lens\\logs\\ Linux: ~/.config/Lens/logs/

---

## [Kubectl is not working in Lens terminal, what should I do?](https://forums.k8slens.dev/t/kubectl-is-not-working-in-lens-terminal-what-should-i-do/97)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 1:00pm UTC](https://forums.k8slens.dev/t/kubectl-is-not-working-in-lens-terminal-what-should-i-do/97 "2023-01-30T13:00:58Z")

</div>

Lens tries to download correct Kubectl version for the cluster and use that in Lens terminal. Some operating systems (namely Windows) might have restrictions set that prevent downloading and executing binaries from the d…

---

## [Why is Cluster View not opening?](https://forums.k8slens.dev/t/why-is-cluster-view-not-opening/95)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:58pm UTC](https://forums.k8slens.dev/t/why-is-cluster-view-not-opening/95 "2023-01-30T12:58:41Z")

</div>

To see Cluster dashboard properly, Kubernetes cluster must be reachable either directly from your computer or via HTTP proxy. You can configure HTTP proxy in Cluster Settings. Also, provided credentials in Kubeconfig mus…

---

## [Clusters are invisible in Catalog](https://forums.k8slens.dev/t/clusters-are-invisible-in-catalog/93)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:53pm UTC](https://forums.k8slens.dev/t/clusters-are-invisible-in-catalog/93 "2023-01-30T12:53:05Z")

</div>

Make sure that you: Chose a proper team space in the Space Selector in the upper-right corner of Lens Desktop. E.g. your local clusters are in the Local space. Set paths to all kubeconfig files in Preferences \> Kuberne…

---

## [Lens Pro is not active after the subscription payment](https://forums.k8slens.dev/t/lens-pro-is-not-active-after-the-subscription-payment/91)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:29pm UTC](https://forums.k8slens.dev/t/lens-pro-is-not-active-after-the-subscription-payment/91 "2023-01-30T12:29:49Z")

</div>

You might need to refresh your subscription token. To do that complete the following steps: Download your activation code from your Lens ID page. See Offline activation for details. Unregister from Lens Desktop. See Un…

---

## [The Lens Desktop Kube local cluster is invisible in Catalog](https://forums.k8slens.dev/t/the-lens-desktop-kube-local-cluster-is-invisible-in-catalog/90)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:16pm UTC](https://forums.k8slens.dev/t/the-lens-desktop-kube-local-cluster-is-invisible-in-catalog/90 "2023-01-30T12:16:01Z")

</div>

Make sure that you: Chose Local in the Space Selector in the upper-right corner of Lens Desktop. Set the path to the .kube folder in Preferences \> Kubernetes \> Kubeconfig Syncs

---

## [Can Lens Desktop Kube run with other local Kubernetes clusters?](https://forums.k8slens.dev/t/can-lens-desktop-kube-run-with-other-local-kubernetes-clusters/88)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:08pm UTC](https://forums.k8slens.dev/t/can-lens-desktop-kube-run-with-other-local-kubernetes-clusters/88 "2023-01-30T12:08:24Z")

</div>

No, it can not. If you have, for example, a Docker Desktop Kubernetes cluster running, make sure that you disabled the Kubernetes in Docker Desktop before starting Lens Desktop Kube. If you stopped Kubernetes in Docker D…

---

## [The \`Could not scan image vulnerabilities\` message when scanning images](https://forums.k8slens.dev/t/the-could-not-scan-image-vulnerabilities-message-when-scanning-images/84)

<div class="topic-metadata">

**Author:** [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:02pm UTC](https://forums.k8slens.dev/t/the-could-not-scan-image-vulnerabilities-message-when-scanning-images/84 "2023-01-30T12:02:10Z")

</div>

The following items might help you to solve the image scanning issue: If your image is in a registry that requires username and/or password, make sure that the imagePullSecret is present on the pod. Make sure the vulne…
