feat(eks-v2-alpha): eks auto mode support#33373
Merged
mergify[bot] merged 38 commits intoaws:mainfrom Feb 25, 2025
Merged
Conversation
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Issue # (if applicable)
Address #32364 in aws-eks-v2-alpha.
For EKS Auto Mode, all required configs, including
computeConfig,kubernetesNetworkConfig, andblockStorageare managed through thedefaultCapacityTypeenum. When set toDefaultCapacityType.AUTOMODE(which is the default), these configurations are automatically enabled. TheClusterconstruct in aws-eks-v2-alpha enables EKS Auto Mode by default, managing compute resources through node pools instead of creating default capacity or nodegroups. Users can still opt-in to traditional nodegroup management by settingdefaultCapacityTypetoNODEGROUPorEC2.User Experience:
Update Summary
Clusterconstruct in V2. When enabled:defaultCapacityas aNODEGROUP(major difference from aws-eks module)outputConfigCommandsupport previously inaws-eksmoduleDescription of how you validated changes
On deploy the autoMode enabled cluster using the code above.
% kubectl create deployment nginx --image=nginx % kubectl get events --sort-by='.lastTimestamp'verify the nodes and pods
Checklist
References
eksctl YAML experience
Terraform experience:
Pulumi experience
Links
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license