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

While deploying with ekscluster, you receive an error that it's unable to connect to the cluster, getting credentials expects v1alpha1 but gets v1beta1 #1232

Closed
scouturier opened this issue Jul 30, 2021 · 2 comments

Comments

@scouturier
Copy link
Contributor

Deploying with ekscluster outputs the following error:
unable to use kubectl with the EKS cluster (check 'kubectl version'): Unable to connect to the server: getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1, plugin returned version client.authentication.k8s.io/v1beta1

As a workaround, when the cluster is done deploying, running this command will fix this:
aws eks update-kubeconfig --name eksworkshop-eksctl

@scouturier scouturier changed the title Deploying with ekscluster is unable to connect to the cluster, getting credentials expects v1alpha1 but gets v1beta1 While deploying with ekscluster, you receive an error that it's unable to connect to the cluster, getting credentials expects v1alpha1 but gets v1beta1 Jul 30, 2021
@scouturier
Copy link
Contributor Author

The AWS CLI V2 was recently updated and the version for the credential API changed from v1alpha1 to v1beta1

@ROunofF
Copy link
Contributor

ROunofF commented Aug 31, 2022

Fix by CLI update

@ROunofF ROunofF closed this as completed Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants