37  How-to Add New Cluster to OpenLens

Access the remote cluster using SSH and run

kubectl config view --minify --raw

Copy the output.

On OpenLens, click on File > Add Cluster.

Screenshot of OpenLens showing text field to add new cluster.

Paste the output of kubectl config view --minify --raw in the text field and click on Add cluster.

Screenshot of OpenLens listing all clusters.

After the cluster be successfully added, click on the cluster to open the dashboard.

Screenshot of OpenLens showing cluster dashboard.