eks: AL2023 ARM64 NVIDIA nodegroup type support
Describe the feature
Following PR #34456, add support for the AL2023_ARM_64_NVIDIA ami type that is available in EKS managed nodegroups.
Use Case
We have challenge on deploy G5g with AL20223_ARM_64_NVIDIA on new site but it's not support AMI type.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
latest version
AWS CDK CLI version
latest version
Environment details (OS name and version, etc.)
Amazon Linux ARM cpu with NVIDIA (AL2023_ARM_64_NVIDIA)
Hi @shazi7804,
Thank you for reporting this issue. AL2023_ARM_64_NVIDIA AMI type support is missing from the CDK, even though it's available in the AWS EKS API.
I can confirm that:
- AWS EKS does support
AL2023_ARM_64_NVIDIAfor managed node groups (verified in CloudFormation docs) - The CDK's NodegroupAmiType enum is missing this value
- This prevents deploying G5g instances with AL2023 and NVIDIA drivers through CDK
This is a valid feature request that would require adding:
AL2023_ARM_64_NVIDIA = 'AL2023_ARM_64_NVIDIA'to the NodegroupAmiType enum- The new type to the
gpuAmiTypesarray for proper GPU instance validation - Updates to both the stable and alpha EKS packages
The fix should be straightforward since it's just adding a missing enum value that AWS already supports. We'd welcome a PR contribution if you're interested in implementing this! The changes would need to be made in:
packages/aws-cdk-lib/aws-eks/lib/managed-nodegroup.tspackages/@aws-cdk/aws-eks-v2-alpha/lib/managed-nodegroup.ts- Associated test files
This would enable users to deploy ARM64 GPU workloads using the latest Amazon Linux 2023 with NVIDIA drivers.
We'll reveiw your PR when it's ready. Let me know if you need any further guidance.
Hello @pahud , Is it possible to make a contribution for it?