Skip to content

(aws-eks): Update isGpuInstanceType to support more recent instance types #35914

@daveharmon

Description

@daveharmon

Describe the bug

https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-eks/lib/private/nodegroup.ts

Please add trn1, trn1n, trn2, p5, p5e, p5en, etc to keep up with latest.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Library Version

No response

Expected Behavior

This will allow users to create MNGs with trnX and PY Y>4 instance types with the expected al2023 AMIs

Current Behavior

ValidationError: The specified AMI does not match the instance types architecture, either specify one of AL2_X86_64, AL2023_X86_64_STANDARD, BOTTLEROCKET_X86_64, WINDOWS_CORE_2019_X86_64, WINDOWS_CORE_2022_X86_64, WINDOWS_FULL_2019_X86_64, WINDOWS_FULL_2022_X86_64 or don't specify any

Reproduction Steps

create an mng for trn instance types even with size 0

Possible Solution

No response

Additional Information/Context

No response

AWS CDK Library version (aws-cdk-lib)

any

AWS CDK CLI version

any

Node.js Version

any

OS

any

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServicebugThis issue is a bug.effort/mediumMedium work item – several days of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions