fix(eks): migrate all AMI types from AL2 to AL2023 for K8s 1.33+#674
Open
musa-asad wants to merge 1 commit into
Open
fix(eks): migrate all AMI types from AL2 to AL2023 for K8s 1.33+#674musa-asad wants to merge 1 commit into
musa-asad wants to merge 1 commit into
Conversation
86557f2 to
d0d94cc
Compare
Contributor
|
Contributor
Author
|
Thanks for the review!
|
f14734a to
61e47f0
Compare
03cd53e to
ff59a14
Compare
ff59a14 to
9aba814
Compare
9aba814 to
8615e6e
Compare
AL2_x86_64 and AL2_ARM_64 are no longer supported on K8s 1.33+. - Update test matrix JSON to AL2023_x86_64_STANDARD / AL2023_ARM_64_STANDARD - Update GPU AMI to AL2023_x86_64_NVIDIA in generator and addon matrix - Update all variables.tf defaults to AL2023 - Replace hardcoded ami_type in main.tf with var.ami_type
8615e6e to
6d261ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the issue
EKS test clusters use deprecated AL2 AMI types which are no longer supported on K8s 1.33+. Additionally, AL2023 managed node groups default to IMDS hop limit 1, blocking pod IMDS access and breaking Container Insights.
Description of changes
Migrate AMI types to AL2023:
AL2_x86_64→AL2023_x86_64_STANDARDAL2_ARM_64→AL2023_ARM_64_STANDARDAL2_x86_64_GPU→AL2023_x86_64_NVIDIAFix IMDS access for pods on AL2023:
aws_launch_templatewithhttp_put_response_hop_limit = 2disk_sizefrom node groups (incompatible with launch templates)Add host_network = true to daemonset pod specs:
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/25810039514