Step 1 - Set your Kubernetes context to GKE
    • PDF

    Step 1 - Set your Kubernetes context to GKE

    • PDF

    Article summary

    1.1 - Authenticate to your Google Cloud Instance

    Authenticate to your GKE cluster by using the following Google CLI command:

    gcloud auth login or gcloud auth application-default login

    1.2 - Set your Kubernetes context to GKE

    Set your Kubernetes context to your GKE cluster by logging into the Google CLI.

    gcloud projects list
    gcloud config set project [project_id]
    gcloud container clusters get-credentials [clusterName] --region [clusterregionName] --project [project_id]


     


    Was this article helpful?