-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
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