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,210 points

1 answer to this question.

0 votes


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,300 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
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 52,370 points

reshown Apr 12, 2019 by Kalgi 3,507 views