-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
aws eks update-kubeconfig invalid apiVersion while using Github linux runners #6921
Comments
same here |
For now downgrading the kubectl version from 1.24.0 is the best work around.
|
Use solution I have posted above meanwhile. |
I'm going to resolve this as a duplicate of #6920. Will post an update there shortly. |
|
sudo apt install kubectl=1.23.6-00 It's broken with kubectl version 1.24. Downgrade to 1.23.6 will fix the issue for now |
Describe the bug
aws eks update-kubeconfig --name ${EKS_CLUSTER_NAME} --region ${REGION}
The above command executes successfully in the GitHub Action workflow but when I run
kubectl apply -f manifest.yml
I get the error below:
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
Expected Behavior
Usually it would start the deployment to the EKS cluster
Current Behavior
I am currently getting the error below:
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
Upon checking the kubectl version --client --output=yaml, it is on version 1.24.0.
Reproduction Steps
The issue opened here suggested that one should downgrade kubectl from 1.24.0 as seen here - #6920 but this is a bit hard with GitHub hosted runners as OS updates are managed by them
Possible Solution
When I reached out to AWS support, the engineer suggested that he is going to accelerate this to the AWS EKS Service team. For reference - Case ID 10018756571
Additional Information/Context
No response
CLI version used
the version is managed by the GitHub team
Environment details (OS name and version, etc.)
Linux - Ubuntu 20.04
The text was updated successfully, but these errors were encountered: