- Newest
- Most votes
- Most comments
Using a custom AMI for an EKS node group requires a few considerations to ensure that the instances can properly join and function within the Kubernetes cluster managed by Amazon EKS. Here are some steps and checks you can perform to troubleshoot the issue:
Ensure that the custom AMI is compatible with EKS requirements (e.g., pre-installed packages, configurations). Compare its configuration with that of the Amazon EKS Optimized AMI. Use the EKS bootstrap script (/etc/eks/bootstrap.sh) in your launch template in the user data section. Verify IAM role for node group has necessary EKS permissions. Check VPC, subnets, and security groups for proper configuration allowing communication with the EKS control plane and internet. Ensure instances are tagged correctly (e.g., kubernetes.io/cluster/<cluster-name> = owned). Inspect CloudWatch Logs for bootstrap process errors. Check the Auto Scaling Group's Activity History for instance launch errors. Confirm the EKS Cluster Role has eks:DescribeCluster permission.
If this response has addressed your question, could you kindly accept the answer? It would greatly benefit the community. Thank you!
Relevant content
- asked 5 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 6 months ago