EN

An overview of the LENS dashboard for Kubernetes

A great ally in your daily life with Kubernetes can be dashboards, in this article we cover LENS, learn more about this tool that can be your great friend.

SRE/Kubernetes Admin

Angela Poliana

Lens is a powerful tool for managing Kubernetes clusters. It offers an intuitive graphical interface that allows the visualization and management of your clusters, pods, service deployments, and much more. 

Lens offers a comprehensive overview of your Kubernetes environment, allowing you to monitor performance and identify issues. 

The intuitive graphical interface makes it easy to use, even for users who are new to Kubernetes, by offering a wide range of features, including log viewing and port forwarding.

The Lens Security Center, an essential part of the Lens Security feature, enables users to scan for vulnerabilities in their clusters.


Discover the main features of Lens in this video:


Pros and Cons of Lens: A Detailed Evaluation

Pros: 
  • Lens offers a user-friendly interface and clear menus, making navigation and use easy.

  • It goes beyond a simple visualization of clusters, providing several features, such as: 

    • Real-time visualization of logs, events, and details of pods and deployments.

    • Adjustment of CPU, memory, and storage limits for applications.

    • Port forwarding to access pods directly from your browser.

    • Management of ConfigMap and Secrets.

    • Ability to connect and manage multiple clusters simultaneously.

    • With the Lens Security Center, it is possible to patch security vulnerabilities in your clusters. 

    • Easy deployment and management of Helm Charts. 

    • Access control with MFA and RBAC.

    • Tracking audit logs of all actions performed in Lens. 

Cons:
  • To take advantage of all Lens features, it is necessary to install Lens Desktop; the web version offers basic functionalities. 

  • The free version has some restrictions, such as:

    • Visualization of up to 100 pods;

    • Helm Chart functionality is limited;

    • The Lens Security Center, which helps identify vulnerabilities, is only available in paid versions. 

Banner


Installation:

The guide below details the installation of Lens Desktop on Debian/Ubuntu using the APT repository. However, Lens offers several other options to meet your needs and preferences. Access the official Lens page to find links for APT, RPM, and Snap packages, as well as installers for Windows and macOS. 

The official documentation offers detailed instructions for each installation method Getting Started-Lens

Step-by-step installation:

  1. Add the public key:

curl -fsSL https://downloads.k8slens.dev/keys/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/lens-archive-keyring.gpg > /dev/null
  1. Add the Lens Desktop repository:

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/lens-archive-keyring.gpg] https://downloads.k8slens.dev/apt/debian stable main" | sudo tee /etc/apt/sources.list.d/lens.list > /dev/null
  1. Update and install:

sudo apt update && sudo apt install lens
  1. Run Lens Desktop:

lens-desktop

Conclusion and tips to get the most out of Lens: 

Lens is a valuable tool for anyone managing Kubernetes clusters. It offers a user-friendly graphical interface, a wide range of features, and a high level of security. 

Start by exploring the basic features and evaluate if the tool meets your needs. To enjoy the full features, install Lens Desktop and access the documentation to follow the updates and make the most of the tool. 

And finally, adapt the tool to your workflow to optimize the management of your Kubernetes clusters.

Be sure to follow our blog—we are always sharing interesting content—and also listen to Kubicast, the podcast that brings knowledge in a different format.

Newsletter Getup.

Atualizações sobre Kubernetes e Software Supply Chain Security todos os meses.

Operating Kubernetes in production for more than 13 years. With Quor, this experience extends to software supply chain security as well.