Home > Mobile >  Unable to connect to AWS EKS cluster
Unable to connect to AWS EKS cluster

Time:05-06

I am configuring an EKS cluster using terraform in a private subnet and trying to access it using a VPN in a public subnet. When I configured it, it works fine but now when I run kubectl get pods or kubectl get svc, it is throwing an error:

error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

I don't know why it is happening. Please reply if you the solution.

Thanks

CodePudding user response:

It's broken with kubectl version 1.24. Downgrade to 1.23.6 will fix the issue for now

sudo apt install kubectl=1.23.6-00
  • Related