AWS EKS — working with AWS EKS from Mirantis Lens IDE

Mirantis recently announced its acquisition of Lens Kubernetes IDE, which can be used with AWS EKS, and a standalone Kubernetes cluster.

In this article I will explain how to connect Mirantis Lens to AWS EKS Fargate cluster hassle-free.

  1. Download and install Mirantis Lens.
  2. Deploy your cluster. I am using eksctl in example below:
eksctl create cluster — name MirantisLens — version 1.18 — fargate — region us-east-1

4. Start Mirantis Lens, and click add cluster, the “+” sign:

5. Select either config file from $Home\.kube folder, or click “Paste as text” and copy paste content of .\kube\config file

6. You will see your cluster context is detected. Click “Add Cluster(s)”:

7. After few minutes you should see 2 Fargate nodes:

There are options to install “User Mode” and “Metrics” in cluster settings. “User Mode” plugin works, for “Metrics” please see below.

Note: I am trying to figure out how to install “Metrics” (Prometheus) plugin from Lens . When the plugin is enabled, two of the pods progress to the running state, leaving the other two pods in Pending state. If someone has a solution, let me know in the comments below.

Investigating further, it seems that the issue with “Metrics” plugin is that the nodeSelector key has an incorrect value — two pods from deployment are pointing to Fargate nodes, and the other two have correct value for nodeSelector key.

8. Click “Terminal” and start using your tools kubectl, eksctl, aws cli etc.,

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Create a Constant Horizontal Movement in Unity

Tutorial ESP32 Door Lock 3in1 Fingerprint Keypad 4x3 and RFID PN532

Tutorial ESP32 Door Lock 3in1 Fingerprint Keypad 4x3 and RFID PN532

Experts specializing in IoT and Big Data Science say the internet of things (IoT) is gaining…

Azure App Services, the way to run your Golang app

The story about Koin or There and Back Again

THE UNIQUENESS OF CRODO

Datawave 2 playground

My thoughts on Log4j

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
John Gakhokidze

John Gakhokidze

More from Medium

How to setup 3 node cluster in Apache Kafka

How To Deploy a Docker Image to an AWS ECS Cluster Using Terraform

Installing an Apache server on CentOS 8

WSO2 Identity Server Cluster Setup