helm: Install parametrized services
Dry run install check:
$ helm install --dry-run stuff ./worker NAME: stuff LAST DEPLOYED: Thu Sep 23 16:55:25 2021 NAMESPACE: default STATUS: pending-install REVISION: 1 TEST SUITE: None HOOKS: MANIFEST: --- apiVersion: v1 kind: ConfigMap metadata: name: loaders data: config.yml: | storage: cls: pipeline steps: - cls: buffer min_batch_size: content: 10000 content_bytes: 104857600 directory: 10000 revision: 10000 - cls: filter - cls: retry - cls: remote url: http://storage:5002/ celery: task_broker: amqp://guest:guest@amqp// task_queues: - swh.loader.git.tasks.UpdateGitRepository entrypoint.sh: | #!/bin/bash set -e echo Starting the swh Celery worker exec python -m celery \ --app=swh.scheduler.celery_backend.config.app \ worker \ --pool=prefork --events \ --concurrency=${CONCURRENCY} \ --max-tasks-per-child=${MAX_TASKS_PER_CHILD} \ -Ofair --loglevel=${LOGLEVEL} \ --hostname "${HOSTNAME}" --- apiVersion: v1 kind: Service metadata: name: storage spec: type: ExternalName externalName: swh-storage --- apiVersion: v1 kind: Service metadata: name: amqp spec: type: ExternalName externalName: amqp --- ...
Related to T3592