Skip to content

Commit 2f3ec4c

Browse files
author
Michael Buchar
committed
feat(helm): configure workspace file limit and GC (#900)
Set default values for FORCE_GARBAGE_COLLECTION and WORKSPACE_DISPLAY_FILE_LIMIT environment variables in Helm.
1 parent c48d92a commit 2f3ec4c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ organisation on GitHub, in alphabetical order:
4343
- [Maria Fernando](https://github.com/MMFernando)
4444
- [Markus Zimmermann](https://inspirehep.net/authors/1249806)
4545
- [Matthew Feickert](https://orcid.org/0000-0003-4124-7862)
46+
- [Michael Buchar](https://orcid.org/0009-0009-4804-8525)
4647
- [Michael Eliachevitch](https://orcid.org/0000-0003-2033-537X)
4748
- [Michael R. Crusoe](https://orcid.org/0000-0002-2961-9670)
4849
- [Parth Shandilya](https://github.com/ParthS007)

helm/reana/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ collisions.
1010
## Configuration
1111

1212
| Parameter | Description | Default value |
13-
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
13+
| --------------------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------ |
1414
| `components.reana_db.enabled` | Instantiate a PostgreSQL database inside the cluster | true |
1515
| `components.reana_db.image` | [PostgreSQL image](https://hub.docker.com/_/postgres) to use | `docker.io/library/postgres:12.13` |
1616
| `components.reana_job_controller.environment` | [REANA-Job-Controller](https://github.com/reanahub/reana-job-controller) environment variables | `{}` |
@@ -61,6 +61,8 @@ collisions.
6161
| `components.reana_workflow_controller.environment.REANA_OPENSEARCH_USE_SSL` | Use SSL when connecting to OpenSearch instance. | true |
6262
| `components.reana_workflow_controller.environment.REANA_OPENSEARCH_CA_CERTS` | Path to a file with OpenSearch root CA certificates. | "/code/certs/ca.crt" |
6363
| `components.reana_workflow_controller.environment.REANA_OPENSEARCH_USER` | OpenSearch user name for Basic Authentication. | reana |
64+
| `components.reana_workflow_controller.environment.WORKSPACE_DISPLAY_FILE_LIMIT` | Maximum number of workspace file entries returned by workspace listing endpoints. | 100000 |
65+
| `components.reana_workflow_controller.environment.FORCE_GARBAGE_COLLECTION` | Comma separated list of operations (`ls`, `list`, `rm`, `delete`) for which to run a manual `gc.collect()` before executing. Leave empty to disable. | "" |
6466
| `components.reana_workflow_engine_cwl.environment` | [REANA-Workflow-Engine-CWL](https://github.com/reanahub/reana-workflow-engine-cwl) environment variables | `{}` |
6567
| `components.reana_workflow_engine_cwl.image` | [REANA-Workflow-Engine-CWL image](https://hub.docker.com/r/reanahub/reana-workflow-engine-cwl) to use | `docker.io/reanahub/reana-workflow-engine-cwl:<chart-release-version>` |
6668
| `components.reana_workflow_engine_serial.environment` | [REANA-Workflow-Engine-Serial](https://github.com/reanahub/reana-workflow-engine-serial) environment variables | `{}` |

helm/reana/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ components:
123123
REANA_OPENSEARCH_USE_SSL: true
124124
REANA_OPENSEARCH_CA_CERTS: "/code/certs/ca.crt"
125125
REANA_OPENSEARCH_USER: reana
126+
WORKSPACE_DISPLAY_FILE_LIMIT: 100000
127+
FORCE_GARBAGE_COLLECTION: ""
126128
reana_workflow_engine_cwl:
127129
image: docker.io/reanahub/reana-workflow-engine-cwl:0.95.0-alpha.2
128130
environment: {}

0 commit comments

Comments
 (0)