1 Answer
- Newest
- Most votes
- Most comments
2
Hello,
It is Very regular issue for everyone i will give solution below in easy way:
This is your issue looks likes.
- Security Groups: If you're accessing the cluster across a VPC, ensure the control plane security groups allow
inbound traffic from the peered VPC on port 443.
- Update Your EKS Cluster and Region and check your config file with following commands:
aws eks --region <your region> describe-cluster --name <your cluster name> --query cluster.status
aws eks --region <your region> update-kubeconfig --name <your cluster name>
mv $HOME/.kube/config $HOME/.kube/config.old
kubectl get svc
kubectl get nodes
=> By applying above commands one by one you resolve your issue.
this is the solution for your issue after applying above commands without any error
Troubleshoot the API server endpoint of an Amazon EKS Cluster: https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting.html
Relevant content
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 months ago
I have tried your solution and many other ways but still cannot connect to the API server.
As far as I know, EKS Control Plane is managed by AWS. How can I get support from AWS regarding this issue?