-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Fix Handling of LaunchTemplate Versions for MixedInstancePolicy #8038
Fix Handling of LaunchTemplate Versions for MixedInstancePolicy #8038
Conversation
/test pull-kops-verify-gomod |
Not to block the PR, but is there any way we could write a test for this sort of thing? It'd probably have to be a new suite, as it's not end-to-end but it needs to run on AWS infrastructure. I think a suite that verifies that a |
Agreed we need to improve testing in this area, i didn't have time to address that, and needed to get a patch out as this was impacting our upgrades. I will see if i can find some time to work on testing in this area, but would like to do that separate from this PR. |
Related to previous PR: #7445 |
Ahh yeah, good fix @granular-ryanbonham! Lets definitely plan to CP to 1.15 and 1.16. I'm not sure 1.14 is worth it since we should be pushing people to 1.15 and beyond. I don't feel that strongly though so up to you 😉 . /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: granular-ryanbonham, mikesplain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ease-1.15 Cherry pick of #8038 onto release-1.15
…ease-1.14 Cherry pick of #8038 onto release-1.14
…ease-1.16 Cherry pick of #8038 onto release-1.16
Will this get into the next 1.16 release? |
…k_8038_release-1.14 Cherry pick of kubernetes#8038 onto release-1.14
…k_8038_release-1.14 Cherry pick of kubernetes#8038 onto release-1.14
…k_8038_release-1.14 Cherry pick of kubernetes#8038 onto release-1.14
Correctly detect the version of the LaunchTemplate that should be used, handling Default, Latest, and a specified version..
Currently if you are using TF output and using mixed instances policies for your IGs, without this patch in 1.14+ the rolling update always thinks nodes need to be rolled.
TF issue caused by this PR which was to fix handling of ASG set to use default version of the Launch Template.#7445
TF is settings specific version, and not changing the default, so the logic in 7445 broke rolling updates for TF generated ASGs.
Recommend CP to 1.14, 1.15, 1.16 with new releases.