-
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
Add Propagation of ManagedNodeGroup Tags to their corresponding AutoScalingGroups #5002
Add Propagation of ManagedNodeGroup Tags to their corresponding AutoScalingGroups #5002
Conversation
Nice one @SlevinWasAlreadyTaken ! |
@aclevername @Himangini will be interested I guess 💯 |
9065b74
to
2fe3c88
Compare
@aclevername @Himangini I have rebased this PR considering this fresh changes in the way we configure the propagation of tags. |
Thanks, @SlevinWasAlreadyTaken. We are a bit swamped atm but I have tagged the team for reviews, we'll review and get back to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple changes required, otherwise this is on a good track! :) Thank you!
@SlevinWasAlreadyTaken hi. You need to resolve the merge so I can run the tests. :) thanks! |
6939017
to
cf1f7be
Compare
I just rebased! |
cf1f7be
to
65303d8
Compare
@SlevinWasAlreadyTaken There is something wrong with the merge? Check failure on line 284 in pkg/cfn/manager/api.go GitHub Actions |
19e6b0b
to
8016bf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after conflict and comment resolution.
It needs another set of eyes from the Team. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thank you for addressing the change requests. LGTM once the merge conflicts are addressed 😄 🎉
ec62b7f
to
d4e85b6
Compare
Changes to ensure that AutoScalingGroups Tags are the same as their ManagedNodeGroup. All tags are copied from the ManagedNodeGroup to the AutoScalingGroup. If the tags already exists, it is overridden. This is the default behaviour (as it is for Unmanaged NodeGroup) and can be enabled using propagateASGTags boolean configuration. Issue eksctl-io#1571
… test for managernodegroup
…odegroup creation
…ename astypes package to asTypes
d4e85b6
to
be607ce
Compare
@nikimanoledaki 👋 conflicts addressed :) |
@SlevinWasAlreadyTaken thank you for your contribution and sticking to this long process. :) Well done! :) |
Description
Resume
I have added Propagation of ManagedNodeGroup (MNG) Tags to their AutoScalingGroups (ASG). This should resolve the issue #1571
How it has been done
I tried to find a good place to do it, and added it as an additional task on managed group creation. I switched the Parallel task boolean to false since it requires to be Sequential: we can't propagate the MNG tags to the ASGs without having the MNG created (since the ASGs are created automatically after the MNG creation).
ℹ️ This is my first contribution, thanks for your understanding if I've missed something =)
Checklist
-⚠️ As it is my first contribution, I would prefer a first review before of course, implementing themREADME.md
, or theuserdocs
directory)