An error occurred ResourceNotFoundException when calling the DescribeCluster operation No cluster found for name fargate-cluster

0 votes

Hi Guys,

I am new to AWS EKS. I have created one Fargate profile. But I am not able to update its credentials to the Kubernetes config file. It is showing me the below error.

$ aws eks update-kubeconfig --name fargate-cluster
An error occurred (ResourceNotFoundException) when calling the DescribeCluster operation: No cluster found for name: fargate-cluster.

How can I solve this error?

Jul 6, 2020 in AWS by akhtar
• 38,260 points
17,293 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you need to tell your region name where you created your Fargate Profile. In my case, it is working fine. 

C:\Users\NADIM AKTHAR\Openstack>aws eks --region ap-southeast-1 update-kubeconfig --name fargate-cluster
Added new context arn:aws:eks:ap-southeast-1:142213003344:cluster/fargate-cluster to C:\Users\NADIM AKTHAR\.kube\config

I hope this will help you.

answered Jul 6, 2020 by MD
• 95,460 points

Related Questions In AWS

+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,484 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP