[pve-devel] [PATCH manager v2 5/5] ceph: gui: add autoscale mode to pool create
Alwin Antreich
a.antreich at proxmox.com
Mon Oct 19 12:39:34 CEST 2020
Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
www/manager6/ceph/Pool.js | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 19eb01e9..11bcf9d5 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -39,6 +39,19 @@ Ext.define('PVE.CephCreatePool', {
name: 'crush_rule',
allowBlank: false
},
+ {
+ xtype: 'proxmoxKVComboBox',
+ fieldLabel: 'PG Autoscale Mode', // do not localize
+ name: 'pg_autoscale_mode',
+ comboItems: [
+ ['warn', 'warn'],
+ ['on', 'on'],
+ ['off', 'off'],
+ ],
+ value: 'warn',
+ allowBlank: false,
+ autoSelect: false,
+ },
{
xtype: 'proxmoxintegerfield',
fieldLabel: 'pg_num',
--
2.27.0
More information about the pve-devel
mailing list