]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: datacenter options: add HA 'Rebalance on Start' to CRS options
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 19:09:28 +0000 (20:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 19:09:40 +0000 (20:09 +0100)
and make the window wider to avoid many lines for the boxLabel
explanation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/OptionView.js

index f36a685605372384d95eb3aeafbc447d5977a0b2..8b7aca32792c51eb5214f823011f8c818a3cae28 100644 (file)
@@ -160,6 +160,7 @@ Ext.define('PVE.dc.OptionView', {
        });
        me.add_inputpanel_row('crs', gettext('Cluster Resource Scheduling'), {
            renderer: PVE.Utils.render_as_property_string,
+           width: 450,
            labelWidth: 120,
            url: "/api2/extjs/cluster/options",
            onlineHelp: 'ha_manager_crs',
@@ -175,6 +176,12 @@ Ext.define('PVE.dc.OptionView', {
                    ['static', 'Static Load'],
                ],
                defaultValue: '__default__',
+           }, {
+               xtype: 'proxmoxcheckbox',
+               name: 'ha-rebalance-on-start',
+               fieldLabel: gettext('Rebalance on Start'),
+               boxLabel: gettext('Use CRS to select the least loaded node when starting an HA service'),
+               value: 0,
            }],
        });
        me.add_inputpanel_row('u2f', gettext('U2F Settings'), {