Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/uffizi.softwareheritage.org.yaml
Show All 9 Lines | |||||
swh::deploy::storage::backend::workers: 64 | swh::deploy::storage::backend::workers: 64 | ||||
swh::deploy::storage::backend::max_requests: 500 | swh::deploy::storage::backend::max_requests: 500 | ||||
swh::deploy::storage::backend::max_requests_jitter: 50 | swh::deploy::storage::backend::max_requests_jitter: 50 | ||||
swh::deploy::storage::legacy_directory: /srv/softwareheritage/objects-xfs | swh::deploy::storage::legacy_directory: /srv/softwareheritage/objects-xfs | ||||
swh::deploy::storage::config: | swh::deploy::storage::config: | ||||
storage: | storage: | ||||
cls: local | cls: pipeline | ||||
steps: | |||||
- cls: validate | |||||
- cls: local | |||||
args: | args: | ||||
db: "host=%{hiera('swh::deploy::storage::db::host')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | db: "host=%{hiera('swh::deploy::storage::db::host')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | ||||
objstorage: | objstorage: | ||||
cls: multiplexer | cls: multiplexer | ||||
args: | args: | ||||
objstorages: | objstorages: | ||||
- cls: pathslicing | - cls: pathslicing | ||||
args: | args: | ||||
root: "%{hiera('swh::deploy::storage::directory')}" | root: "%{hiera('swh::deploy::storage::directory')}" | ||||
slicing: "0:2/0:5" | slicing: "0:2/0:5" | ||||
compression: none | compression: none | ||||
- cls: filtered | - cls: filtered | ||||
args: | args: | ||||
storage_conf: | storage_conf: | ||||
cls: pathslicing | cls: pathslicing | ||||
args: | args: | ||||
root: "%{hiera('swh::deploy::storage::legacy_directory')}" | root: "%{hiera('swh::deploy::storage::legacy_directory')}" | ||||
slicing: "0:1/0:2/2:4/4:6" | slicing: "0:1/0:2/2:4/4:6" | ||||
compression: gzip | compression: gzip | ||||
filters_conf: | filters_conf: | ||||
- type: readonly | - type: readonly | ||||
- "%{alias('swh::remote_service::objstorage::config::azure')}" | - "%{alias('swh::remote_service::objstorage::config::azure')}" | ||||
journal_writer: | journal_writer: | ||||
cls: kafka | cls: kafka | ||||
args: | args: | ||||
brokers: "%{alias('swh::deploy::journal::brokers')}" | brokers: "%{alias('swh::deploy::journal::brokers')}" | ||||
prefix: "%{alias('swh::deploy::journal::prefix')}" | prefix: "%{alias('swh::deploy::journal::prefix')}" | ||||
client_id: "swh.storage.journal_writer.%{::swh_hostname.short}" | client_id: "swh.storage.journal_writer.%{::swh_hostname.short}" | ||||
producer_config: | producer_config: | ||||
message.max.bytes: 1000000000 | message.max.bytes: 1000000000 | ||||
# Deploy the indexer storage server as a public resource | # Deploy the indexer storage server as a public resource | ||||
swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | ||||
swh::deploy::indexer::storage::backend::workers: 32 | swh::deploy::indexer::storage::backend::workers: 32 | ||||
swh::deploy::indexer::storage::config: | swh::deploy::indexer::storage::config: | ||||
indexer_storage: | indexer_storage: | ||||
cls: local | cls: local | ||||
args: | args: | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |