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

GitHub Actions CICD Pipeline to Deploy Java WebApp into Azure App Service | Integration GitHub Actions with Azure App Service

Pre-requisites: Make sure Java web app is setup in GitHub Azure subscription to create web app What are we going to do in this lab? 1. Creat...