Signed-off-by: Alwin Antreich <a.antre...@proxmox.com> --- PVE/API2/Ceph.pm | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 0aeb5075..69fe3d6d 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -718,6 +718,13 @@ my $ceph_pool_common_options = sub { enum => ['rbd', 'cephfs', 'rgw'], optional => 1, }, + pg_autoscale_mode => { + description => "The automatic PG scaling mode of the pool.", + type => 'string', + enum => ['on', 'off', 'warn'], + default => 'warn', + optional => 1, + }, }; if (!$nodefault) { @@ -781,6 +788,7 @@ __PACKAGE__->register_method ({ $ceph_param->{size} //= 3; $ceph_param->{min_size} //= 2; $ceph_param->{application} //= 'rbd'; + $ceph_param->{pg_autoscale_mode} //= 'warn'; my $worker = sub { -- 2.27.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel