Skip to content
Snippets Groups Projects
Verified Commit 5bc7d083 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

production: Deploy one instance of content mimetype indexers

Refs. swh/infra/sysadm-environment#5238
parent 31c713b8
No related branches found
No related tags found
1 merge request!342production: Deploy one instance of content mimetype indexers
......@@ -141,6 +141,22 @@ authenticatedJournalClientConfiguration:
secretKeyRef: swh-archive-broker-secret
secretKeyName: BROKER_USER_PASSWORD
authenticatedIndexerProd01JournalClientConfiguration:
cls: kafka
brokersConfigurationRef: internalSecuredKafkaBrokers
sasl.mechanism: SCRAM-SHA-512
security.protocol: SASL_SSL
sasl.username: ${BROKER_USER}
sasl.password: ${BROKER_USER_PASSWORD}
prefix: swh.journal.objects
secrets:
BROKER_USER:
secretKeyRef: swh-indexer-prod-01-broker-secret
secretKeyName: BROKER_USER
BROKER_USER_PASSWORD:
secretKeyRef: swh-indexer-prod-01-broker-secret
secretKeyName: BROKER_USER_PASSWORD
primaryPostgresqlROStorageConfiguration:
cls: postgresql
host: postgresql-storage-rw.internal.softwareheritage.org
......@@ -1001,6 +1017,22 @@ indexers:
configuration: {}
autoScaling:
maxReplicaCount: 12
content-mimetype:
autoScaling:
maxReplicaCount: 1
journalClientConfigurationRef: authenticatedIndexerProd01JournalClientConfiguration
indexer_type: content_mimetype
journalClientOverrides:
group_id: swh-indexer-prod-01-swh.indexer.journal_client.content_mimetypexs
batch_size: 200
extraConfig:
tools:
name: file
version: 2:0.4.15-2
configuration:
type: library
debian-package: python3-magic
write_batch_size: 1000
search:
enabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment