rancher / eks-operator

Apache License 2.0
22 stars 37 forks source link

Investigate defaulting nodegroups to Amazon Linux 2023 #568

Open alexander-demicev opened 3 months ago

alexander-demicev commented 3 months ago

Description

Investigate defaulting node groups to Amazon Linux 2023, we currently create all node groups with Amazon Linux 2 which will be EOL next year https://aws.amazon.com/amazon-linux-2/faqs/

https://github.com/rancher/eks-operator/blob/main/pkg/eks/create.go#L278

WARNING!!! Amazon Linux 2023 is supported by aws-sdk-go-v2 but there is still missing support for GPU in Amazon Linux 2023 for EKS. It has to be updated later on. Please DON'T RESOLVE THIS ISSUE before AMITypesAl2X8664Gpu is also updated. https://github.com/rancher/eks-operator/blob/main/pkg/eks/create.go#L284

PR:

thehejik commented 1 week ago

The GPU part doesn't work (EKS with Enabled GPU flag) when provisioning in eu-central-2 region. Seems their API has support for it but the new GPU AMI is still not available. image

AMIs present: image

NOTE: latest eksctl 0.190.0 is still using AmazonLinux2/1.30