Monday, May 23, 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}


No comments:

Post a Comment