diff --git a/charts/deckhand/templates/deployment.yaml b/charts/deckhand/templates/deployment.yaml index ae3a84fd..64276285 100644 --- a/charts/deckhand/templates/deployment.yaml +++ b/charts/deckhand/templates/deployment.yaml @@ -44,6 +44,11 @@ spec: {{ tuple $envAll $dependencies $mounts_deckhand_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }} containers: - name: deckhand + env: + - name: 'DECKHAND_API_WORKERS' + value: {{ .Values.conf.uwsgi.workers | default 4 | quote }} + - name: 'DECKHAND_API_THREADS' + value: {{ .Values.conf.uwsgi.threads | default 1 | quote }} image: {{ .Values.images.tags.deckhand }} imagePullPolicy: {{ .Values.images.pull_policy }} {{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} diff --git a/charts/deckhand/values.yaml b/charts/deckhand/values.yaml index 10128208..d4a8e44c 100644 --- a/charts/deckhand/values.yaml +++ b/charts/deckhand/values.yaml @@ -181,6 +181,9 @@ database: db_root_user: postgres conf: + uwsgi: + threads: 1 + workers: 4 policy: admin_api: role:admin deckhand:create_cleartext_documents: rule:admin_api