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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南