1 Answer
- Newest
- Most votes
- Most comments
0
Seems like EKS is overwriting the file. This might happen because EKS uses - EKS optimized Amazon Linux AMI. This AMI uses Amazon Linux 2 as its base image and has additional components. One such component is containerd. As this AMI is regularly updated, there is a chance that your changes will be lost.
Links https://aws.amazon.com/eks/faqs/#:~:text=Q%3A%20How%20do%20I%20update%20my%20worker%20nodes%3F
https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
To avoid this issue, you can create Custom AMI and use it for your cluster. This can solve your problem
answered a year ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 months ago
Hi thank you for your response. Are you aware of any guide we can follow to create this or which base AMI we can use? because the base AMI's we have been using still give us the same results.
You can use any base AMI (ex: Amazon Linux2). You launch instance using base image, configure the server and create the image. Then use the AMI in your eks cluster. This should work. If it doesnt, create an instance from your AMI and check the configuration. Also, you check the system log.