Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to access GKE cluster

Unable to access GKE cluster by Visual code and getting below erorr.

error: The gcp auth plugin has been removed. Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin instead.

0 1 995
1 REPLY 1

Hi @anilkumarunilog 

Please follow the below steps to install auth plugin which is required for authentication. 

Let me if the solution helps!!

A new kubectl plugin called “gke-gcloud-auth-plugin”  

 

Kubectl authentication plugin installation instructions

You will need to install the gke-gcloud-auth-plugin binary on all systems where kubectl or Kubernetes custom clients are used. To install the binary, use one of the following methods.

 

Install using "gcloud components install"

Run the following command:

gcloud components install gke-gcloud-auth-plugin

Install using "apt-get install" for DEB based systems

Run the following command:

sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin

Top Labels in this Space