Skip to content

Conversation

@fabriziopandini
Copy link
Member

What this PR does / why we need it:
This PR refactor MachineTemplateUpToDate to surface info that will be require when we are going to introduce the "canUpgrade in-place" check.

On top of this changes, also the FindNewMachineSet / FindOldMachineSets func have been refactored to allow an easier consumption of the output of MachineTemplateUpToDate, as well as the integration in the same set of NotUpToDateResults of the output of the decision about rolloutAfter.

(we also agreed to proceed with small incremental changes given the complexity of this part of the codebase)

Which issue(s) this PR fixes :
Part of #12291

/area machinedeployment

@k8s-ci-robot k8s-ci-robot added area/machinedeployment Issues or PRs related to machinedeployments cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 1, 2025
@fabriziopandini
Copy link
Member Author

/test pull-cluster-api-e2e-blocking-main

@sbueringer
Copy link
Member

/test pull-cluster-api-e2e-main

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 1, 2025
@fabriziopandini fabriziopandini force-pushed the refactor-MachineTemplateUpToDate branch from e5b067b to 3c535ac Compare October 1, 2025 14:52
@fabriziopandini fabriziopandini added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Oct 1, 2025
@fabriziopandini
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 2, 2025
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 2576dbd5c2e9ae9f11ad8c03557a0b39f1798bf2

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 2, 2025
@k8s-ci-robot k8s-ci-robot merged commit 8f2d1a2 into kubernetes-sigs:main Oct 2, 2025
18 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.12 milestone Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/machinedeployment Issues or PRs related to machinedeployments cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants