From: Dominik Rusovac <d.rusovac@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-cluster v2 6/6] datacenter config: add maxima for load scheduler options
Date: Wed, 29 Apr 2026 14:20:51 +0200 [thread overview]
Message-ID: <20260429122051.179485-7-d.rusovac@proxmox.com> (raw)
In-Reply-To: <20260429122051.179485-1-d.rusovac@proxmox.com>
With load imbalance being clamped to unit interval,
'ha-auto-rebalance-threshold' should not exceed 1.0 either.
Upper bound of 1.0 for 'ha-auto-rebalance-margin' is already in place in
the web interface.
Signed-off-by: Dominik Rusovac <d.rusovac@proxmox.com>
---
Notes:
changes since v1:
* patch message is no longer empty
src/PVE/DataCenterConfig.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/DataCenterConfig.pm b/src/PVE/DataCenterConfig.pm
index 6513594..d120017 100644
--- a/src/PVE/DataCenterConfig.pm
+++ b/src/PVE/DataCenterConfig.pm
@@ -44,6 +44,7 @@ EODESC
type => 'number',
optional => 1,
minimum => 0.0,
+ maximum => 1.0,
default => 0.3,
requires => 'ha-auto-rebalance',
description => "The threshold for the cluster node imbalance, which will"
@@ -72,6 +73,7 @@ EODESC
type => 'number',
optional => 1,
minimum => 0.0,
+ maximum => 1.0,
default => 0.1,
requires => 'ha-auto-rebalance',
description => "The minimum relative improvement in cluster node"
--
2.47.3
prev parent reply other threads:[~2026-04-29 12:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 12:20 [RFC PATCH-SERIES cluster/ha-manager/manager/proxmox v2 0/6] clamp load imbalance to unit interval Dominik Rusovac
2026-04-29 12:20 ` [PATCH proxmox v2 1/6] resource-scheduling: clamp imbalance value " Dominik Rusovac
2026-04-30 7:48 ` Daniel Kral
2026-04-30 8:33 ` Dominik Rusovac
2026-04-29 12:20 ` [PATCH pve-manager v2 2/6] ui: from/CRSOptions: add maximum for threshold Dominik Rusovac
2026-04-29 12:20 ` [PATCH pve-ha-manager v2 3/6] test: re-adjust logged imbalance values to corrected calculation Dominik Rusovac
2026-04-29 12:20 ` [PATCH pve-ha-manager v2 4/6] manager: add load imbalance to status Dominik Rusovac
2026-04-29 12:20 ` [PATCH pve-ha-manager v2 5/6] api: status: " Dominik Rusovac
2026-04-30 7:46 ` Daniel Kral
2026-04-30 8:21 ` Dominik Rusovac
2026-04-29 12:20 ` Dominik Rusovac [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260429122051.179485-7-d.rusovac@proxmox.com \
--to=d.rusovac@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox