title: kubectl versions Error: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1
body: <p>I was setting up my new Mac for my eks environment.
  After the installation of kubectl, aws-iam-authenticator and the kubeconfig file placement in default location. I ran the command kubectl command and got this error mentioned below in command block.</p>
  <p>My cluster uses v1alpha1 client auth api version so basically i wanted to use the same one in my Mac as well.</p>
  <p>I tried with latest version (1.23.0) of kubectl as well, still the same error. Whereas When i tried to do with aws-iam-authenticator (version 0.5.5) I was not able to download lower version.</p>
  <p>Can someone help me to resolve it?</p>
  <pre><code>% kubectl version          
  Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20&quot;, GitVersion:&quot;v1.20.0&quot;, GitCommit:&quot;af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-12-08T17:59:43Z&quot;, GoVersion:&quot;go1.15.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;}
  Unable to connect to the server: getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1, plugin returned version client.authentication.k8s.io/v1beta1
  </code></pre>
  <p>Thanks and Regards,
  Saravana</p>