Please note: Mirantis has realigned its portfolio and renamed several products. These include Docker Enterprise Container Cloud (now Mirantis Container Cloud), Docker Enterprise/UCP (now Mirantis Kubernetes Engine), Docker Engine - Enterprise (now Mirantis Container Runtime), and Docker Trusted Registry (now Mirantis Secure Registry).

Download Lens - the Kubernetes IDE

Lens lets you visualize and interact with Kubernetes easily, accelerating development, operations, and learning

Lens – the Kubernetes IDE — is fruit of a Mirantis-sponsored open source project. Available for Linux, Mac, and Windows, Lens gives you a powerful interface and toolkit for managing, visualizing, and interacting with multiple Kubernetes clusters, while remaining always in proper context. While Lens doesn’t replace kubectl, it provides simpler ways of performing many common operations, replacing complex CLI commands with intuitively-obvious clickable objects, popups, and icons.

This tutorial details how to download and install Lens, and connect it to a Kubernetes cluster.

Prerequisites

  • A laptop or VM with internet access, configured for Kubernetes operations and development. If you haven’t already constructed this, our tutorial How to Build a Kubernetes Development Environment gives a complete recipe.
  • A network-accessible Kubernetes cluster of any type, anywhere. If you need a Kubernetes cluster, we recommend installing Mirantis Kubernetes Engine or k0s.
  • A kubeconfig file, generated from that cluster for your account. Kubeconfigs are a standard way of authenticating to Kubernetes clusters. The above-linked tutorials detail how and where to obtain kubeconfigs after deploying either flavor of Kubernetes.

Step 1: Download Assets

Fill out the form and submit, then click the button to visit the Lens repo on GitHub, then find, download, and install the version of Lens appropriate for your system. Lens is available in several forms for Linux, as well as for Mac and Windows.

Download Lens

Step 2: Connect to your Kubernetes cluster using Lens

Once you have Lens running, connecting to a cluster is easy.

Click the add cluster button along the left-hand side of the window:

image thumbnail

Select the kubeconfig file and the context you want to add (if there’s more than one).

image thumbnail

Finally, click Add Cluster.

image thumbnail

Lens loads the kubeconfig and displays information about your cluster. Using the left-hand menu and popdowns, you can view arrays of objects and easily drill into their performance and operating characteristics, view logs, even log directly into container shells.

Next steps

Now that you have Lens, you may want to experiment with building out a Kubernetes home lab for more-advanced work. The tutorials linked above should get you started with Docker, kubectl, and other container cloud technologies.