Skip to content

Add Google GKE clusters#

This page contains brief instructions for connecting to a Google GKE cluster.

Prerequisites#

Before you start, ensure that you have:

Contact the Google Cloud administrator of your organization for details.

Steps#

  1. Log in to the gcloud CLI:

    gcloud auth login
    
  2. Set your Google Cloud project:

    gcloud config set project <project-id>
    
  3. Get cluster credentials:

    gcloud container clusters get-credentials <cluster-name> --zone <zone> --project <project-id>
    

After completing these steps, the GKE cluster is added to you local kubeconfig file. Then you can open Lens Desktop, and view it in Kubernetes Clusters > Local Kubeconfigs.