Skip to content

Conversation

@acumino
Copy link
Member

@acumino acumino commented Mar 11, 2025

What this PR does / why we need it:
This PR introduces the following changes -

  • Introduces new node condition, 'LastOperations state, and CurrentStatus Phase for in-place update.
  • Controller change for support Auto InPlaceUpdate strategy.
  • Drain logic for in-place updates.
  • Machine health check adaptation for in-place update.
  • New predicate for machine reconciliation so if a node is labeled with any of the in-place update labels, the machine should get reconciled.

Which issue(s) this PR fixes:
Part of #944
Part of gardener/gardener#10219

Special notes for your reviewer:
/invite @aaronfern @elankath @unmarshall

Release note:

Machine Controller Manager now supports a new machine deployment strategy called `InPlaceUpdate`.

@acumino acumino requested a review from a team as a code owner March 11, 2025 08:55
@gardener-robot gardener-robot added needs/review Needs review kind/api-change API change with impact on API users needs/second-opinion Needs second review by someone else labels Mar 11, 2025
@gardener-robot gardener-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 11, 2025
@acumino acumino changed the title [GEP-31] Controller changes to Support InPlaceUpdate Auto strategy [GEP-31] Controller changes to Support Auto InPlaceUpdate strategy Mar 11, 2025
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 11, 2025
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 11, 2025
@acumino acumino force-pushed the auto-inplace-update branch from ba1db8b to ef33379 Compare March 11, 2025 09:16
@ghost ghost added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 11, 2025
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 11, 2025
@acumino acumino force-pushed the auto-inplace-update branch from ef33379 to 58637c1 Compare March 11, 2025 10:02
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 11, 2025
Copy link
Member

@aaronfern aaronfern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments from out initial look. PTAL
-- MCM team

Copy link
Member

@aaronfern aaronfern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more comments. PTAL
Thanks, MCM Team

@gardener-robot
Copy link

@elankath, @unmarshall You have pull request review open invite, please check

Copy link
Member

@takoverflow takoverflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor cosmetic changes and typo fixes, PTAL.

Copy link
Member

@aaronfern aaronfern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have some more review comments, please have a look
Thanks, MCM Team

@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 20, 2025
acumino and others added 13 commits April 17, 2025 13:30
When transferring ownership old machine set should not create new machine for the machine transferred to new machine set

Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com>
Co-authored-by: Ashish Ranjan Yadav  <ashish.ranjan.yadav@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com>
Co-authored-by: Ashish Ranjan Yadav  <ashish.ranjan.yadav@sap.com>
Co-Authored-By: Shafeeque E S <shafeeque.e.s@sap.com>
Co-Authored-By: Ashish Ranjan Yadav <ashish.ranjan.yadav@sap.com>
Co-Authored-By: Shafeeque E S <shafeeque.e.s@sap.com>
Co-Authored-By: Ashish Ranjan Yadav <ashish.ranjan.yadav@sap.com>
Co-Authored-By: Shafeeque E S <shafeeque.e.s@sap.com>
Co-Authored-By: Ashish Ranjan Yadav <ashish.ranjan.yadav@sap.com>
…de label

Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com>
Co-authored-by: Ashish Ranjan Yadav  <ashish.ranjan.yadav@sap.com>
@ary1992 ary1992 force-pushed the auto-inplace-update branch from 88bd02e to 6900f38 Compare April 21, 2025 06:12
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Apr 21, 2025
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Apr 21, 2025
@acumino acumino requested a review from unmarshall April 21, 2025 15:42
@ghost ghost added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Apr 23, 2025
@unmarshall unmarshall merged commit 26533e0 into gardener:master Apr 23, 2025
8 checks passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Apr 23, 2025
@acumino acumino deleted the auto-inplace-update branch April 23, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/api-change API change with impact on API users needs/changes Needs (more) changes needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/rebase Needs git rebase needs/review Needs review needs/second-opinion Needs second review by someone else size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. status/closed Issue is closed (either delivered or triaged)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants