Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically lookup DeviceName for AMIs #774

Closed
adamjohnson01 opened this issue May 2, 2019 · 6 comments · Fixed by #779
Closed

Dynamically lookup DeviceName for AMIs #774

adamjohnson01 opened this issue May 2, 2019 · 6 comments · Fixed by #779

Comments

@adamjohnson01
Copy link
Contributor

Why do you want this feature?
We are using a custom ami which uses /dev/sda1 for the root device, currently there is no way for us extend the root volume of the ami as the launch configuration will add another disk using /dev/xvda

What feature/behavior/change do you want?
We would like the ability to override the DeviceName value using a value in the config file

@errordeveloper
Copy link
Contributor

Would you mind sharing more info about the kind AMI that depends on this? Is it an in-house thing for you, or one from the marketplace or elsewhere?

@adamjohnson01
Copy link
Contributor Author

No problem, the official Redhat and Centos AMIs use /dev/sda1 for the root device. We build our images on top of those.

@errordeveloper
Copy link
Contributor

errordeveloper commented May 3, 2019 via email

@adamjohnson01
Copy link
Contributor Author

adamjohnson01 commented May 3, 2019

Just to clarify, when I say official Redhat/Centos I am referring to the base images, there are no eks images available, we build and maintain our own private eks images.

I think rather than hard coding values it may be a better idea to a populate the value dynamically, the information can be retrieved by describing the ami that is going to be used, this would make it a lot more flexible and remove the need to override anything. What do you think?

@errordeveloper
Copy link
Contributor

errordeveloper commented May 3, 2019 via email

@adamjohnson01
Copy link
Contributor Author

Cool, I will close my other pull request and work on getting the value dynamically.

I think that having a RH family makes sense, happy to discuss it in another issue.

@adamjohnson01 adamjohnson01 changed the title Allow the ability to override the launchTemplateData DeviceName for custom AMIs Dynamically lookup DeviceName for AMIs May 7, 2019
Yannig pushed a commit to Yannig/eksctl that referenced this issue Jun 1, 2019
torredil pushed a commit to torredil/eksctl that referenced this issue May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants