Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eks] [request]: aws eks get-token incompatible with kubectl >= 1.24 #1736

Closed
sylr opened this issue May 5, 2022 · 2 comments · Fixed by aws/aws-cli#6940
Closed

[eks] [request]: aws eks get-token incompatible with kubectl >= 1.24 #1736

sylr opened this issue May 5, 2022 · 2 comments · Fixed by aws/aws-cli#6940
Labels
EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue

Comments

@sylr
Copy link

sylr commented May 5, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
What do you want us to build?

Which service(s) is this request for?

EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

$ kubectl get nodes
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Are you currently working around this issue?

Downgrade kubectl to 1.23.x

@sylr sylr added the Proposed Community submitted issue label May 5, 2022
@sylr
Copy link
Author

sylr commented May 5, 2022

aws/aws-cli#6916

@mikestef9 mikestef9 added the EKS Amazon Elastic Kubernetes Service label May 5, 2022
@micahhausler
Copy link
Member

This is resolved in the AWS CLI 1.24.0. You will need to run aws eks update-kubeconfig --name $CLUSTER or manually update the API version from client.authentication.k8s.io/v1alpha1 to client.authentication.k8s.io/v1beta1 in your ~/.kube/config or $KUBECONFIG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants