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 Configure GitHub Advanced Security for Azure DevOps | How to Perform Security scan for Azure Repos using GitHub Advanced Security

GitHub Advanced Security for Azure DevOps brings the  secret scanning, dependency scanning  and  CodeQL code scanning  solutions already ava...