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

Worker Groups should support a map of maps #732

Closed
2 of 4 tasks
mcavoyk opened this issue Feb 10, 2020 · 17 comments
Closed
2 of 4 tasks

Worker Groups should support a map of maps #732

mcavoyk opened this issue Feb 10, 2020 · 17 comments

Comments

@mcavoyk
Copy link

mcavoyk commented Feb 10, 2020

I have issues

I'm submitting a...

  • bug report
  • feature request
  • support request - read the FAQ first!
  • kudos, thank you, warm fuzzy

What is the current behavior?

Related to #476, worker_groups and worker_groups_launch_template are both list of maps, as a result removing one worker group can end up causing cycles or changes to all worker groups in the indexes after the modified worker group.

node_groups uses map of maps which allows removal of an element without shifting other elements, this seems like better behavior. A map of map for worker group may also allow for Launch Template/Launch Config as a setting of the worker group rather than a different input as mentioned #563.

@max-rocket-internet
Copy link
Contributor

node_groups uses map of maps which allows removal of an element without shifting other elements, this seems like better behavior

It is better but worker_groups and worker_groups_launch_template were made before map of maps was possible, pre TF 0.12.

I think this change would be breaking? We should also just merge worker_groups and worker_groups_launch_template together.

@dpiddockcmp
Copy link
Contributor

Could move it all to a submodule at the same time.

Such a breaking change that it would be easier for users to target create resources in the submodule, taint and drain the old nodes, then do a full apply to clean up the old ASGs.

One big round of pain to remove some old headaches?

@max-rocket-internet
Copy link
Contributor

Good idea @dpiddockcmp

@josh-stableprice
Copy link

josh-stableprice commented Feb 17, 2020

I'm glad to see this is being considered, and as I'm someone who is experiencing this cycle from trying to remove an item from worker group launch template, how do you typically deal with it?

Edit, found it: https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md#how-do-i-safely-remove-old-worker-groups

@stale
Copy link

stale bot commented May 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 17, 2020
@barryib barryib removed the stale label May 17, 2020
@johnpekcan
Copy link

Thanks for removing stale @barryib 😇

@stale
Copy link

stale bot commented Sep 30, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 30, 2020
@Xyaren
Copy link

Xyaren commented Oct 1, 2020

Nononono... This is still a Problem :) Bad Bot !
Please don't let this go down in other Issues

@stale stale bot removed the stale label Oct 1, 2020
@stale
Copy link

stale bot commented Dec 30, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 30, 2020
@johnpekcan
Copy link

bump for stale 😇

@stale stale bot removed the stale label Dec 30, 2020
@stale
Copy link

stale bot commented Mar 31, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 31, 2021
@johnpekcan
Copy link

bump 😇

@stale stale bot removed the stale label Mar 31, 2021
@stale
Copy link

stale bot commented Jun 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 29, 2021
@stale
Copy link

stale bot commented Jul 29, 2021

This issue has been automatically closed because it has not had recent activity since being marked as stale.

@stale stale bot closed this as completed Jul 29, 2021
@Art3mK
Copy link

Art3mK commented Jul 29, 2021

bump

@Art3mK
Copy link

Art3mK commented Aug 3, 2021

@barryib , could you reopen that, plz, this is still valid I think.

@github-actions
Copy link

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 Nov 20, 2022
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

8 participants