-
Notifications
You must be signed in to change notification settings - Fork 1k
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: backport label allowlisting to enable seamless downgrades from 1.1+ #7798
fix: backport label allowlisting to enable seamless downgrades from 1.1+ #7798
Conversation
Pull Request Test Coverage Report for Build 13534922031Details
💛 - Coveralls |
/karpenter snapshot |
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.
Makes sense -- I will note that downgrading CRDs is generally not recommended because you can drop data generally -- maybe we should rethink the way that we are recommending downgrades, but I think it can be potentially be dangerous to downgrade CRDs because upgrades are backwards-compatible, but downgrades aren't guaranteed to be
Yeah, this is what I brought up with the team. I don't think we should set expectations that downgrades are supported since there are so many things that could go wrong and it isn't really the convention for other K8s components. That said, I think we could take this as an exception until we formalize our version support matrix and our downgrade policy. |
8c3c4f3
to
cade6b1
Compare
/karpenter snapshot |
Fair enough. It's probably been more implicit than explicit at this point. Sounds like a note we should add to our upgrade guide. Agree that this change seems easy enough to reason about. |
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 🚀
Fixes #N/A
Description
Backport nodeclaim label allowlisting to unblock downgrades from 1.1+.
How was this change tested?
Created nodeclaims using 1.2.1 and then downgraded to 1.0.8. Without this change, nodeclaims were stuck since the spec was invalid as per the downgraded CRD. With this change, the nodeclaims were unblocked.
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.