Skip to content

Update documentation regarding node deletion changes#1067

Merged
gardener-prow[bot] merged 3 commits intogardener:masterfrom
gagan16k:doc_changes
Feb 24, 2026
Merged

Update documentation regarding node deletion changes#1067
gardener-prow[bot] merged 3 commits intogardener:masterfrom
gagan16k:doc_changes

Conversation

@gagan16k
Copy link
Member

@gagan16k gagan16k commented Feb 5, 2026

What this PR does / why we need it:
This PR updates documentation to account for changes made by #1055 , regarding the node.machine.sapcloud.io/trigger-deletion-by-mcm annotation.

  • Updated docs/faq.md to clarify that deleting a node now immediately triggers the deletion and replacement of the corresponding machine, and that the trigger-deletion-by-mcm annotation is no longer supported on node objects but is still supported on machine and machineDeployment objects for CA-MCM integration.
  • Updated comment for TriggerDeletionByMCM in pkg/util/provider/machineutils/utils.go

Release note:

NONE

@gagan16k gagan16k requested a review from a team as a code owner February 5, 2026 11:54
@gardener-prow gardener-prow bot added do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 5, 2026
docs/faq.md Outdated
On the other hand if the user deletes the node object immedietly then replacement will start only after `MachineHealthTimeout`.

This annotation can also be used if the user wants to expedite the [replacement of unhealthy nodes](#how-does-rate-limiting-replacement-of-machine-work-in-mcm-how-is-it-related-to-meltdown-protection)
If the user deletes the node object, the corresponding machine object is marked for deletion immediately, triggering a replacement. The replacement machine is created to maintain the `desired replicas` specified for the machineDeployment/machineSet.
Copy link
Member

Choose a reason for hiding this comment

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

imo, the answer here answers the question "what happens if I delete a node object" rather than what it's supposed to answer. I've given a suggestion but please feel free to improvise or change the direction

Suggested change
If the user deletes the node object, the corresponding machine object is marked for deletion immediately, triggering a replacement. The replacement machine is created to maintain the `desired replicas` specified for the machineDeployment/machineSet.
If the user doesn't have access to the machine object, they can directly delete the node object. This causes the corresponding machine object to be immediately marked for deletion, triggering a replacement. The replacement machine is created to maintain the `desired replicas` specified for the machineDeployment/machineSet.

takoverflow
takoverflow previously approved these changes Feb 20, 2026
@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2026
@gardener-prow
Copy link

gardener-prow bot commented Feb 20, 2026

LGTM label has been added.

DetailsGit tree hash: f618ad90a19d1902da7ba02ad0b6f78585669736

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 20, 2026
@takoverflow takoverflow removed approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Feb 20, 2026
@takoverflow takoverflow dismissed their stale review February 20, 2026 17:11

Forgot that with prow now, just one approval's enough for PR to be auto merged.

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.

/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2026
@gardener-prow
Copy link

gardener-prow bot commented Feb 24, 2026

LGTM label has been added.

DetailsGit tree hash: f618ad90a19d1902da7ba02ad0b6f78585669736

@gardener-prow
Copy link

gardener-prow bot commented Feb 24, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: takoverflow

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 24, 2026
@takoverflow takoverflow added kind/enhancement Enhancement, improvement, extension and removed do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Feb 24, 2026
@gardener-prow gardener-prow bot merged commit cf09cc6 into gardener:master Feb 24, 2026
13 checks passed
@gagan16k gagan16k deleted the doc_changes branch February 24, 2026 16:31
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. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants