You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to connect to cluster. Ensure kubeconfig file is present and updated to connect to the cluster.
Code snippet
➜ foo AWS_REGION=eu-central-1 aws eks update-kubeconfig --name foo-bar-baz
Updated context arn:aws:eks:eu-central-1:1234567890:cluster/foo-bar-baz in /Users/lorem/.kube/config
➜ foo eksup analyze --cluster foo-bar-baz --region eu-central-1 -v
Error: Unable to connect to cluster. Ensure kubeconfig file is present and updated to connect to the cluster.
Try: aws eks update-kubeconfig --name foo-bar-baz
Possible Solution
read AWS creds from environment variables if provided
Steps to Reproduce
Set AWS creds as environment variables, try to run the aws eks update-kubeconfig --name <cluster-name>
run the command: eksup analyze --cluster <cluster name> --region <aws region>
eksup version
0.2.0-alpha3
Operating system
macOS x86_64
Error output
Error: Unable to connect to cluster. Ensure kubeconfig file is present and updated to connect to the cluster.
Try: aws eks update-kubeconfig --name foo-bar-baz
The text was updated successfully, but these errors were encountered:
could you try enabling more verbose output with -vvvv and sharing that - you can post it here (please ensure no sensitive information is shared) or you can also email it to me at [email protected] as well
Expected Behaviour
eksup should analyze the cluster
Current Behaviour
Unable to connect to cluster. Ensure kubeconfig file is present and updated to connect to the cluster.
Code snippet
➜ foo AWS_REGION=eu-central-1 aws eks update-kubeconfig --name foo-bar-baz Updated context arn:aws:eks:eu-central-1:1234567890:cluster/foo-bar-baz in /Users/lorem/.kube/config ➜ foo eksup analyze --cluster foo-bar-baz --region eu-central-1 -v Error: Unable to connect to cluster. Ensure kubeconfig file is present and updated to connect to the cluster. Try: aws eks update-kubeconfig --name foo-bar-baz
Possible Solution
read AWS creds from environment variables if provided
Steps to Reproduce
aws eks update-kubeconfig --name <cluster-name>
eksup analyze --cluster <cluster name> --region <aws region>
eksup version
0.2.0-alpha3
Operating system
macOS x86_64
Error output
The text was updated successfully, but these errors were encountered: