- Newest
- Most votes
- Most comments
Greetings,
I understand that you are facing error in node group creation as the instances failed to join the Kubernetes cluster. I can see that your EKS Cluster end point access is Private. Please allow me to mention that when you enable endpoint private access for your cluster, Amazon EKS creates a Route 53 private hosted zone on your behalf and associates it with your cluster's VPC. This private hosted zone is managed by Amazon EKS, and it doesn't appear in your account's Route 53 resources. In order for the private hosted zone to properly route traffic to your API server, your VPC must have enableDnsHostnames and enableDnsSupport set to true, and the DHCP options set for your VPC must include AmazonProvidedDNS in its domain name servers list.
Here are the steps to include the above-
- Naviate to VPC in Console.
- Find "DHCP option sets" under "Virtual private cloud" on the left.
- You should be able to see your existing DHCP option set in the list. Unfortunately, we are not able to modify an existing one, so we create a new one.
- Click "Create DHCP option set", and put everything as same as the existing one, EXCEPT, add "AmazonProvidedDNS" in "Domain name servers" configuration. It should be something like "X.X.X.X, X.X.X.X, AmazonProvidedDNS".
- After you create it, go to your VPC and "Edit DHCP option set". Then choose the new DHCP option set.
Kindly refer the documentation [1] and [2] for more details.
Have a nice day!
References:
[1] https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html [2] https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#vpc-dns-updating
Relevant content
- Accepted Answerasked 2 years ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
Thank you. In my case there is some rejected traffics from network interface of instance (created from node groups). After fixing this problem, node groups can join Kubernetes cluster.