Commit 24ab7017 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added prefix size config to helm.

parent 10e0375a
Pipeline #45235 canceled with stages
in 6 minutes and 2 seconds
......@@ -78,6 +78,8 @@ spec:
value: "{{ .Values.dbname }}"
- name: NOMAD_CELERY_ROUTING
value: "{{ .Values.worker.routing }}"
- name: NOMAD_FILES_PREFIX_SIZE
value: "{{ .Values.volumes.prefixSize }}"
command: ["python", "-m", "gunicorn.app.wsgiapp", "--timeout", "3600", "--log-config", "ops/gunicorn.log.conf", "-w", "{{ .Values.api.worker }}", "-b 0.0.0.0:8000", "nomad.api:app"]
livenessProbe:
httpGet:
......
......@@ -85,6 +85,8 @@ spec:
value: "ERROR"
- name: NOMAD_CELERY_ROUTING
value: "{{ .Values.worker.routing }}"
- name: NOMAD_FILES_PREFIX_SIZE
value: "{{ .Values.volumes.prefixSize }}"
command: ["python", "-m", "celery", "worker", "-A", "nomad.processing", "-Q", "celery,calcs,uploads"]
livenessProbe:
exec:
......
......@@ -116,6 +116,7 @@ mail:
## Everything concerning the data that is used by the service
volumes:
prefixSize: 3
public: /nomad/fairdi/fs/public
staging: /nomad/fairdi/fs/staging
tmp: /nomad/fairdi/fs/tmp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment