swift: Enable backend_ratelimit middleware

The backend_ratelimit middleware was enabled in the sample config files
in swift.

Change-Id: Idd789f00c183ef8c2f5bf77b7c1b3fb997c1b638
This commit is contained in:
Takashi Kajinami 2024-01-04 11:37:35 +09:00
parent d5e5e557cc
commit 211dc77fb9
1 changed files with 4 additions and 3 deletions

View File

@ -138,14 +138,15 @@ class openstack_integration::swift {
class { 'swift::storage::all':
storage_local_net_ip => $::openstack_integration::config::host,
mount_check => false,
account_pipeline => ['healthcheck', 'recon', 'account-server'],
container_pipeline => ['healthcheck', 'recon', 'container-server'],
object_pipeline => ['healthcheck', 'recon', 'object-server'],
account_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'account-server'],
container_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'container-server'],
object_pipeline => ['healthcheck', 'recon', 'backend_ratelimit', 'object-server'],
account_server_workers => 2,
container_server_workers => 2,
object_server_workers => 2,
}
$swift_components = ['account', 'container', 'object']
swift::storage::filter::backend_ratelimit { $swift_components : }
swift::storage::filter::recon { $swift_components : }
swift::storage::filter::healthcheck { $swift_components : }
class { 'swift::objectexpirer':