- Notifications
You must be signed in to change notification settings - Fork 1.4k
✨ kcp: add preflight check for pending version upgrade from topology #11927
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
✨ kcp: add preflight check for pending version upgrade from topology #11927
Conversation
sbueringer left a comment
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.
Just some nits
fabriziopandini left a comment
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.
Overall sgtm only one small suggestion on top of @sbueringer comments
sbueringer left a comment
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.
Last nit
fabriziopandini left a comment
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
| LGTM label has been added. Git tree hash: 2cc20dafe39490dd8ec3481a4ec49b13ec6f4f71 |
| Thx! /lgtm /hold /test pull-cluster-api-e2e-main |
| LGTM label has been added. Git tree hash: 2d5643c166c8a6e8167c4b91e31a772dcc980356 |
| [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
bbfe7ba to 8f81a31 Compare | @chrischdi Did you intentionally revert the last commit? |
| /test pull-cluster-api-e2e-main |
| /lgtm |
| LGTM label has been added. Git tree hash: 2d5643c166c8a6e8167c4b91e31a772dcc980356 |
| @chrischdi: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| Thanks! /lgtm |
| LGTM label has been added. Git tree hash: 53b9c80552cb18a26e808fb1ca620ed3e11571b5 |
…ubernetes-sigs#11927) * kcp: add preflight check for pending version upgrade from topology * topology: propagate changes to CP even when scaling to prevent deadlocks * kcp: adjust predicates to reconcile the event of cluster version changes * review fixes * fixup * review fix * drop IsScaling for kcp in upgradetracker
What this PR does / why we need it:
High-level description:
Note: This change only affects topology based Clusters.
More detailed description:
Changes to KCP:
Cluster.spec.topology.version != KCP.spec.version)Changes to the topology controller:
computeControlPlaneVersionto allow to propagate down changes when a Control Plane is in scaling..spec.topology.versionwas set to a newer one.spec.topology.versionWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
/area provider/control-plane-kubeadm