awslabs / amazon-eks-ami

Packer configuration for building a custom EKS AMI
https://awslabs.github.io/amazon-eks-ami/
MIT No Attribution
2.41k stars 1.14k forks source link

/etc/eks/bootstrap.sh not found in the latest AWS AMI #1885

Closed Swisk closed 1 month ago

Swisk commented 1 month ago

What happened:

The bootstrap script cannot be found at /etc/eks. This causes the EKS nodes to be unable to work properly, especially when custom kubelet arguments need to be passed.

image

(Currently using amazon-eks-node-al2023-x86_64-standard-1.30-v20240703)

What you expected to happen:

bootstrap.sh should be present at /etc/eks

How to reproduce it (as minimally and precisely as possible):

No config required, using the current latest public AMI image: ami-0801925bef3126494

Anything else we need to know?:

Environment:

ndbaker1 commented 1 month ago

The ami you're referencing is for AL2023, which uses the nodeadm bootstrap instead of bootstrap.sh