DEV Community 👩‍💻👨‍💻

Common Issues with AWS, EKS Cluster-Fargate-VPC

Following the AWS documentation on Amazon EKS was super helpful and very detailed, covering topics such as AWS Networking and Security for example and the prerequisites.

Issue

However, I had an issue with coredns deployment failing, looking for nodes.

kubectl get pods -n kube-system
NAME                      READY   STATUS    RESTARTS   AGE
coredns-                    0/1     Pending   0          46m
coredns-                    0/1     Pending   0          46m
coredns-                    0/1     Pending   0          77m
Enter fullscreen mode Exit fullscreen mode

Solution

I was using an existing VPC with public and private subnets, internet gateway and nat gateway. The solution was in your VPC, make sure you have enableDNSHostnames and enableDNSSupport set to True.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.