I have install gke on a test account and configured the cli.
kuebctl get pods
is giving below warning.
W0916 17:23:58.063534 67381 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
No resources found in default namespace.
But I already installed the gcloud-auth-plugin
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
google-cloud-sdk-gke-gcloud-auth-plugin is already the newest version (402.0.0-0).
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
But still why I am getting this warning? Any suggestions on how to fix this?
gke-gcloud-auth-plugin --version
Kubernetes v1.24.0-alpha+f42d1572e39979f6f7de03bd163f8ec04bc7950d