Skip to content

Commit d1998a5

Browse files
committed
helm: disable quota accounting on workflow termination
closes #628
1 parent 59d92c9 commit d1998a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Version 0.9.0 (UNRELEASED)
1010
- Adds configuration environment variable ``reana_server.environment.REANA_RATELIMIT_SLOW`` to limit API requests to some protected endpoints e.g launch workflow.
1111
- Adds configuration environment variable ``reana_server.environment.REANA_WORKFLOW_SCHEDULING_READINESS_CHECK_LEVEL`` to define checks that are performed to assess whether the cluster is ready to start new workflows.
1212
- Changes default consumer prefetch count to handle 10 messages instead of 200 in order to reduce the probability of 406 PRECONDITION errors on message acknowledgement.
13+
- Changes configuration option ``quota.workflow_termination_update_policy`` to deactivate workflow termination accounting by default.
1314

1415
Version 0.8.2 (UNRELEASED)
1516
--------------------------

helm/reana/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
112112
| `volume_paths.shared_volume_path` | Path inside the REANA components where the shared volume will be mounted | /var/reana |
113113
| `quota.enabled` | Enable user workflow accounting capabilities. | true |
114114
| `quota.periodic_update_policy` | Cronjob pattern representing how often the users Disk and CPU quota usage should be updated. Leave it empty to deactivate it | "0 3 * * *" |
115-
| `quota.workflow_termination_update_policy` | Resources to calculate quotas on worflow termination. Possible values: "cpu" and "disk". Leave it empty to deactivate workflow termination accounting. | "cpu,disk" |
115+
| `quota.workflow_termination_update_policy` | Resources to calculate quotas on worflow termination. Possible values: "cpu" and "disk". Leave it empty to deactivate workflow termination accounting. | "" |
116116
| `quota.default_disk_limit` | Default users disk quota limit in bytes. | None |
117117
| `quota.default_cpu_limit` | Default users CPU quota limit in milliseconds. | None |
118118
| `workspaces.paths` | List of additional workspace paths as strings. Each mount string is composed by a key `hostPath`(path to the directory to be mounted from the Kubernetes nodes) and a cluster_pod_mountpath (path inside the cluster containers where the `mountPath` will be mounted) e.g. `hostPath:mountPath`. The first value listed will be the default workspace root path. Any POSIX filesystem mounted on cluster nodes is supported | None |

helm/reana/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ quota:
142142
workflow_termination_update_policy: "{{ .Values.quota.termination_update_policy }}"
143143
# backward compatibility
144144
disk_update: "0 3 * * *" # everyday at 3am
145-
termination_update_policy: "disk,cpu"
145+
termination_update_policy: ""

0 commit comments

Comments
 (0)