Tuesday, May 10, 2022

error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Kubectl Error:

you may get this error when ever you are running kubectl command

error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Solution: 

Make sure you update kubeconfig with below command:

aws eks update-kubeconfig --name ${EKS_CLUSTER_NAME} --region ${REGION}


How to install AWS CLI: 

Please click on the below link:

https://www.coachdevops.com/2020/10/install-aws-cli-version-2-on-linux-how.html


1 comment:

  1. Great Information :


    Thanks By
    https://ustechportal.com/error-exec-plugin-invalid-apiversion-client-authentication-k8s-io-v1alpha1/

    ReplyDelete

DevOps Bootcamp Oct 2024 Schedule | DevOps & AWS Azure Cloud Coaching by Coach AK | DevOps and Cloud Computing Online Classes

  (Lot of new topics covered like GitHub Actions, Helm, Prometheus and Grafana..) The DevOps requirements in the IT market space is expected...