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

How to create Ubuntu 22.0.4 Virtual Machine (VM) in Azure? | Create Ubuntu 22.0.4 VM in Azure | How to connect to Azure VM from your local machine

 How to Create Ubuntu 22.0.4 Virtual Machines(VM) in Azure portal? Creating Virtual Machine is easy and straight forward in Azure Cloud. Let...