Skip to content

Add configurable option to skip node drain during in-place updates in MachineDeployment #1105

@acumino

Description

@acumino

How to categorize this issue?

/area scalability performance
/kind enhancement
/priority 3

What would you like to be added:
The current InPlaceUpdate strategy drains the node before performing the reboot/update. As a result, all pods, including those with attached volumes, must first be evicted before the update can continue. This significantly increases the overall update time.

To support faster updates for workloads where disruption is acceptable, introduce a configurable option to skip the drain step for the InPlaceUpdate strategy.

Extend InPlaceUpdateMachineDeployment with the following field:

// SkipDrain, if set to true, skips the node drain step before performing
// the in-place update. This is disruptive and does not respect PodDisruptionBudgets.
// +optional
SkipDrain bool

When SkipDrain: true is configured, the machine-controller-manager should directly mark the node as ReadyForUpdate without evicting pods beforehand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performancePerformance (across all domains, such as control plane, networking, storage, etc.) relatedarea/scalabilityScalability relatedkind/enhancementEnhancement, improvement, extensionpriority/3Priority (lower number equals higher priority)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions