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

CICD Process Flow Diagram | Implement CICD using Azure DevOps and Other DevOps tools

  CICD Process Flow Diagram - How to Implement CICD using Azure DevOps? Azure DevOps is a set of development tools and services offered by M...