-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Automatically create ASG tag from nodegroup's labels and taints - Round 2 #4853
Comments
I lean towards However, perhaps we want to keep those two things separate, e.g., if the user is going over the 50-tag limit, they may want to disable copying all the labels as tags, but keep the behaviour of #2263, so they only have to manage their own custom tags. |
Wasn't the point that we do this automatically rather than users have to repeat themselves? |
I don't understand your question... I don't think we should always add the magic tags, I think it would be surprising if node groups were enabled for Cluster Autoscaler by default. |
Yeah, no, exactly. I would tie it to a setting, saying -> propagate my tags because I will use them later please. Something like that. Not always always. Hence my suggestion-> |
That's what I'm suggesting. Maybe what I'm suggesting isn't clear. To be succint: For this ticket, I'm suggesting that Or conversely, if
then this ticket is resolved and #2263 is mostly resolved, and the user is repeating themselves less than they do now, because with one config option, they "Enable a node group for CA, including scale-from-zero". The remaining part of #2263 would be to remove the automatic adding of the magic CA tags from the setting which enables CA's required IRSA permissions, because that's combining two unrelated things. It would also be a breaking change, so I would keep it separate from this discussion. Edit: Thinking about it, I'd close #2263 with the above changes, and open a new ticket to make the change in this paragraph. |
Alrighty then. :D |
That said, and to clarify my original comment, it might also make sense for there to be two config options:
And perhaps enabling That way, if you're going to hit the 50-tag limit using My leaning is to just have the one config option, and perhaps an option to disable |
@TBBle Thanks for all the comments. The team will review and see whether this functionality fits in with the project. In the meantime, if you would like to demonstrate a solution, please open a PR. 👍🏻 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
#5002 is pending for managed nodegroups. |
yep, this can be closed. :) thanks, Gini! |
In #4785 we tied the auto generation and population of labels and taints to desired capacity = 0. A follow up discussion in the PR determined that that is sub-optimal and that it should rather always do it based on a setting. Something like
tagForAutoscaler
orpropagateASGTags: true
or something in that direction.Summary
propagateASGTags: true
setting to automatically propagate labels and taints to tags upon nodegroup creation.The text was updated successfully, but these errors were encountered: