Forum Navigation
You need to log in to create posts and topics.

Could not connect to the endpoint URL: "https://eks.region.amazonaws.com/clusters/CLUSTER

Problem

User trying to connect to cluster with the following command

aws eks --region us-east-1a update-kubeconfig --name CLUSTERNAME

and gets the following error

Could not connect to the endpoint URL: "https://eks.region.amazonaws.com/clusters/CLUSTERNAME"

Solution

You have an error with AWS parameters and probable specified wrong region fix to proper region where your CLUSTER installed

aws eks --region us-east-1 update-kubeconfig --name CLUSTERNAME