🚀(staging) don't default to 3 Gunicorn workers

Currently we let SATOSA store some state in-memory. This cannot
work if we have multiple workers.
This commit is contained in:
Jonathan Perret
2024-04-25 11:09:18 +02:00
parent 788c55cf4a
commit b8037e7b69
3 changed files with 2 additions and 1 deletions
@@ -5,7 +5,6 @@ python_path = "/app"
# Run
graceful_timeout = 90
timeout = 90
workers = 3
# Logging
# Using '-' for the access log file makes gunicorn log accesses to stdout
@@ -7,6 +7,7 @@ satosa:
replicas: 1
envVars:
BASE_URL: https://oidc2fer.127.0.0.1.nip.io
GUNICORN_CMD_ARGS: --workers=1
CLIENT_DB_JSON: |-
{
"oidc-test-client": {
@@ -7,6 +7,7 @@ satosa:
replicas: 1
envVars:
BASE_URL: https://oidc2fer-staging.beta.numerique.gouv.fr
GUNICORN_CMD_ARGS: --workers=1
SAML2_BACKEND_CERT: {{ .Values.SAML2_BACKEND_CERT | toYaml | indent 8 }}
SAML2_BACKEND_KEY: {{ .Values.SAML2_BACKEND_KEY | toYaml | indent 8 }}
OIDC_FRONTEND_KEY: {{ .Values.OIDC_FRONTEND_KEY | toYaml | indent 8 }}