> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/kubernetes-overview/kubectl/mirantis-lens.md).

# Mirantis Lens

Integrate Mirantis Lens with DuploCloud

Mirantis Lens, commonly referred to as Lens, is a popular open-source Kubernetes IDE (Integrated Development Environment) that simplifies Kubernetes cluster management and visualization. Lens provides an intuitive graphical user interface (GUI) to interact with and manage multiple Kubernetes clusters, local and remote, making it easier for developers and administrators to monitor, troubleshoot, and manage workloads.

### Configuring Mirantis Lens for DuploCloud Authentication

Integrate Mirantis Lens with DuploCloud by following these steps:

1. **Install the DuploCloud Client:** Ensure the `duploctl` command-line tool is installed. If not, use the `pip install duplocloud-client` command to install it.
2. **Install the Lens Client:** Download and install the Lens Kubernetes IDE client from its official website.
3. **Generate the Kubeconfig File:** Using the DuploCloud UI or `duploctl`:

* Using the DuploCloud UI.
* Using `duploctl`, generate a `kubeconfig` file for Lens connection, as follows:<br>

```
duploctl jit update_kubeconfig --plan nonprod01 --tenant $DUPLO_TENANT --host https://$DUPLO_HOST --token $DUPLO_TOKEN
```

1. **Add Kubeconfig to Lens:** In Lens, navigate to **Catalog,** click the `+` button to add the `kubeconfig` file, and configure Lens to connect to your Kubernetes cluster.
2. **Connect to the Cluster:** Lens will prompt for a login through a browser window. For private EKS cluster authentication, ensure VPN connectivity.

{% hint style="info" %}
Disconnect from the cluster after your session to avoid repeated browser tab openings during reauthentication attempts.
{% endhint %}

Integrating Mirantis Lens with DuploCloud enhances your Kubernetes cluster management by providing a powerful graphical interface alongside the direct command-line access provided by the `kubectl` token.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/kubernetes-overview/kubectl/mirantis-lens.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
