openstack-helm-infra/ceph-client
Stephen Taylor cf7d665e79 [ceph-client] Separate pool quotas from pg_num calculations
Currently pool quotas and pg_num calculations are both based on
percent_total_data values. This can be problematic when the amount
of data allowed in a pool doesn't necessarily match the percentage
of the cluster's data expected to be stored in the pool. It is
also more intuitive to define absolute quotas for pools.

This change adds an optional pool_quota value that defines an
explicit value in bytes to be used as a pool quota. If pool_quota
is omitted for a given pool, that pool's quota is set to 0 (no
quota).

A check_pool_quota_target() Helm test has also been added to
verify that the sum of all pool quotas does not exceed the target
quota defined for the cluster if present.

Change-Id: I959fb9e95d8f1e03c36e44aba57c552a315867d0
2021-02-26 16:49:10 +00:00
..
templates [ceph-client] Separate pool quotas from pg_num calculations 2021-02-26 16:49:10 +00:00
values_overrides Enable yamllint checks 2020-05-29 19:49:05 +00:00
Chart.yaml [ceph-client] Separate pool quotas from pg_num calculations 2021-02-26 16:49:10 +00:00
requirements.yaml Change helm-toolkit dependency version to ">= 0.1.0" 2020-09-24 12:19:28 -05:00
values.yaml [ceph-client] Separate pool quotas from pg_num calculations 2021-02-26 16:49:10 +00:00