Skip to content

[Feature] - Warning for Maintainance-Mode when RAM would reach e.g >90% of other Nodes #611

Description

@cybrwerk

Describe the feature

When placing a node into Maintenance Mode, Pegaprox should perform a pre-check to estimate whether the remaining cluster nodes have sufficient free RAM to accommodate all running VMs.

If the migration would cause one or more target nodes to exceed a configurable threshold (e.g. 90% RAM utilization), a warning should be displayed before Maintenance Mode is entered.

The warning should not necessarily block the operation but should clearly inform the administrator that the cluster may become overcommitted after the migrations.

Use Case

A common maintenance workflow is to evacuate all VMs from a node before performing updates or hardware maintenance.

In clusters with limited spare capacity, enabling Maintenance Mode can unintentionally push one or more nodes into very high memory utilization, potentially affecting performance or causing migration failures.

A pre-flight warning allows administrators to make an informed decision before starting the maintenance operation.

Alternatives considered

None.

How important is this for you?

This would improve the safety and predictability of Maintenance Mode operations, especially in production clusters with high memory utilization. It helps administrators identify capacity issues before migrations begin and reduces the risk of overcommitting the remaining nodes.

Checklist

  • I have searched existing issues and discussions to make sure this hasn't been requested before

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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