One of the following problems pertains to you.
Problem scenario #1
You have a kubectl server. You created some new EKS clusters. How do you get the kubectl server to interface, control or manage the new EKS clusters.
Problem scenario #2
You are running EKS. You run this command:
kubectl get cluster-info
But you receive this message: "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
What should you do?
- Find the name of your EKS clusters. Run this command: aws eks list-clusters
- The results will be names that you can use for this command:
aws eks update-kubeconfig --name foobar
# substitute foobar with the name of a cluster in the result of step #1