Skip to content

Add support for M9g and M9gd (Graviton5) instance types#8769

Open
moko-poi wants to merge 1 commit into
eksctl-io:mainfrom
moko-poi:add-m9g-instance-types
Open

Add support for M9g and M9gd (Graviton5) instance types#8769
moko-poi wants to merge 1 commit into
eksctl-io:mainfrom
moko-poi:add-m9g-instance-types

Conversation

@moko-poi

Copy link
Copy Markdown

Description

AWS recently announced the general availability of the M9g and M9gd general-purpose instance families, powered by Graviton5 (arm64) processors (announcement).

This PR regenerates the EC2 instance type metadata in pkg/utils/instance/instance_types.go via the ec2geninfo tool (make update-ec2-info) so that eksctl recognizes the new instances.

Notes:

  • All 20 new entries (m9g.* and m9gd.*, from medium through 48xlarge) are correctly classified as CPUArch: "arm64", so the appropriate arm64 AMI is selected automatically. No logic changes were required — architecture and AMI-type selection are driven entirely by this generated map.
  • m9gd.* variants (with local NVMe SSD) are correctly marked InstanceStorageSupported: true.
  • Because make update-ec2-info refreshes the full instance list from the EC2 DescribeInstanceTypes API, the diff also picks up other families AWS has added since the last regeneration (e.g. r8i, m8id, p6-b200). This is the expected behaviour of the generator.

Verification:

  • go build ./pkg/utils/instance/... — passes
  • go test ./pkg/utils/instance/... — passes
  • gofmt — clean

Resolves #8622

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

Regenerate the EC2 instance type metadata via the ec2geninfo tool to
pick up the newly GA'd M9g and M9gd instances (AWS Graviton5). Both
families are correctly classified as arm64; m9gd is marked as having
instance storage.

Resolves eksctl-io#8622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add support for AWS M9g instance types (Graviton5) when generally available

1 participant