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)?

demandé il y a 3 ans1187 vues
1 réponse
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

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions