AWS EKS nodes creation failure

Question:

I have a cluster in AWS created by these instructions.

Then I tried to add nodes in this cluster according to this documentation.

It seems that the nodes fail to be created with vpc-cni and coredns health issue type: insufficientNumberOfReplicas The add-on is unhealthy because it doesn't have the desired number of replicas.

The status of the pods kubectl get pods -n kube-system:

The logs of aws-node-9cwkd pod:

By running the command kubectl describe pod aws-node-h4qjt -n kube-system the following error occurs:

Any help would be highly appreciated in order to create nodes in the cluster successfully.

Answer:

I used eksctl command line tool with --nodes flag and everything was created successfully as expected.

Leave a Reply