]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/autoscaler: Introduce noautoscale flag
authorKamoltat <ksirivad@redhat.com>
Wed, 8 Dec 2021 15:13:38 +0000 (15:13 +0000)
committerKamoltat <ksirivad@redhat.com>
Wed, 22 Dec 2021 20:57:42 +0000 (20:57 +0000)
commitbe17f041bab90d8f93c3e52df74cdf6c28b44ef2
treedd1d4b87443727ed984ac066addbab6b4ec3b261
parent08194cb2a5c80675c7ac8c0ce0dfe0cc0ce1a84f
pybind/mgr/autoscaler: Introduce noautoscale flag

`noautoscale` flag is a feature where the
user can choose to flip the switch between
turning autoscale `on` and `off` for all
pools with a single command.

`osd pool set noautoscale` will turn all
autoscale mode`off` for all pools.

`osd pool unset noautoscale` will turn all
autoscale mode `on` for all pools.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
src/pybind/mgr/pg_autoscaler/module.py