Skip to content

Commit

Permalink
helm: add env variable for session inactivity to server
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-steduto committed Jun 9, 2023
1 parent d825057 commit 4ad53a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Version 0.9.1 (UNRELEASED)
--------------------------

- Administrators:
- Adds configuration environment variable ``reana_server.environment.REANA_SESSION_MAX_INACTIVITY_PERIOD`` to set a limit in days for the maximum inactivity period of interactive sessions after which they will be closed.
- Adds new configuration option ``interactive_sessions.maximum_inactivity_period`` to set a limit in days for the maximum inactivity period of interactive sessions after which they will be closed.
- Adds new configuration option ``interactive_sessions.cronjob_schedule`` to set how often interactive session cleanup should be performed.
- Adds support for Kubernetes clusters 1.26, 1.27.
Expand Down
2 changes: 2 additions & 0 deletions helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ spec:
{{- end }}
- name: REANA_KUBERNETES_JOBS_MAX_USER_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_max_user_timeout_limit | default 1209600 }} # 1209600 seconds = 14 days
- name: REANA_SESSION_MAX_INACTIVITY_PERIOD
value: {{ .Values.interactive_sessions.maximum_inactivity_period | default "forever" | quote }}
- name: REANA_KUBERNETES_JOBS_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_timeout_limit | default 604800 }} # 604800 seconds = 7 days
- name: REANA_KUBERNETES_JOBS_MEMORY_LIMIT
Expand Down

0 comments on commit 4ad53a6

Please sign in to comment.