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

Set instance_type in AWS Launch Template instead of Managed Node Group #2503

Closed
sidewinder12s opened this issue Mar 3, 2023 · 3 comments
Closed

Comments

@sidewinder12s
Copy link

sidewinder12s commented Mar 3, 2023

Is your request related to a problem? Please describe.

You cannot modify instance types on managed node groups if you are not using a provided AWS Launch Template. It appears we just need to move the instance_type spec from the MNG to the launch template.

Describe the solution you'd like.

Set the instance_types through Launch template instead of on the managed_node_group config.

Describe alternatives you've considered.

The alternative is to require users to create new MNGs and manually migrate their workloads when they must change them.

Additional context

It appears the main drawback of this is that you cannot specify multiple instance types when setting instance_type through the launch template. That may be undesirable for some users, though I don't think it's generally recommended to have multiple instance sizes in MNGs (or self-managed-node-groups) since then the Autoscaler will not know what size instance it is going to launch.

aws/containers-roadmap#746
aws/containers-roadmap#585

@sidewinder12s
Copy link
Author

Before I look at implementing this, does anyone have major objections to changing the instance specification behavior?

@bryantbiggs Was there a reason you left the instance_type variable commented out in this module?

ee9f0c6#diff-4402c3de90b812296b76c12945524bfde8723038f31d2db203eb2b9294f72df8R45

@bryantbiggs
Copy link
Member

This is not a change that we'll support here

@github-actions
Copy link

github-actions bot commented Apr 3, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants