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.
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