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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ