Programatically retrieve recommended AMI id for GPU EKS nodes

0

For non-gpu EKS nodes we can programmatically retrieve the recommended AMI id with a call to GetParameter:

aws ssm get-parameter --name /aws/service/eks/optimized-ami/<1.19>/<amazon-linux-2>/recommended/image_id --region <region-code> --query "Parameter.Value" --output text

How can we programmatically retrieve the recommended EKS optimized accelerated Amazon Linux AMI (for GPU nodes)?

已提问 3 年前1187 查看次数
1 回答
0

For anyone that runs across this, it appears you query for this parameter:

/aws/service/eks/optimized-ami/<kubernetes version>/amazon-linux-2-gpu/recommended/image_id

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则