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:

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.

Disconnect from the cluster after your session to avoid repeated browser tab openings during reauthentication attempts.

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.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates