amazon-linux-extras package for Freebsd

0

Hi,

Im still trying to create "EKS optimized" Freebsd AMI using this guide - https://repost.aws/knowledge-center/eks-custom-linux-ami . So im using "awslabs" provided scripts (from here https://github.com/awslabs/amazon-eks-ami) that run "packer". After some time of troubleshooting im stuck at step of installing amazon-linux-extras. Where i can find what this package contain?

Thank you

demandé il y a un an295 vues
1 réponse
0
Réponse acceptée

From the title of your question am I right that the source AMI that you're using is FreeBSD? The knowledge doc you've linked to describes how to create an Amazon Linux (not FreeBSD) AMI to deploy with EKS. This would make sense as I wouldn't expect amazon-linux-extras to be available on FreeBSD.

If you start off with an Amazon Linux AMI can you ovcecome this obstacle?

PS one more thing - use Amazon Linux 2 (not 2023) as this one contains amazon-linux extras https://aws.amazon.com/linux/amazon-linux-2023/faqs/

Q: Does AL2023 have Amazon-Linux-Extras like AL2?

A: No, AL2023 does not have extras.

profile picture
EXPERT
Steve_M
répondu il y a un an
  • Yes, if i will be using Amazon linux AMI with the script from the repo i have linked in the question everything works well, as it does have this package, but yeah, it seems that the script is not Freebsd compatible, even thought it is said "build you own custom eks optimized AMI"... sad.

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