Skip to content

Commit

Permalink
feat(helm): increase default rate limit values (reanahub#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Aug 26, 2024
1 parent 04082f4 commit fcecb6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions helm/configurations/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ components:
environment:
REANA_SCHEDULER_REQUEUE_SLEEP: 2
REANA_RATELIMIT_SLOW: "5 per second"
REANA_RATELIMIT_GUEST_USER: "100 per second"
REANA_RATELIMIT_AUTHENTICATED_USER: "100 per second"
reana_workflow_controller:
image: docker.io/reanahub/reana-workflow-controller
environment:
Expand Down
4 changes: 2 additions & 2 deletions helm/reana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `components.reana_server.environment.REANA_SCHEDULER_REQUEUE_COUNT` | The number of times to requeue workflow before failing it. "infinity" value could be used to deactivate workflow failing. | 200 |
| `components.reana_server.environment.REANA_WORKFLOW_SCHEDULING_POLICY` | Define workflow scheduling strategy. Options are "fifo" for first-in-first-out strategy regardless of users and "balanced" for multi-user-aware scheduling strategy. | "fifo" |
| `components.reana_server.environment.REANA_WORKFLOW_SCHEDULING_READINESS_CHECK_LEVEL` | Define checks that are performed to assess whether the cluster is ready to start new workflows. Values are: 0 = no readiness check; schedule new workflow as soon as they arrive; 1 = check for maximum number of concurrently running workflows; schedule new workflows if not exceeded; 2 = check for available cluster memory size; schedule new workflow only if it fits; 9 = perform all checks; satisfy all previous criteria. | 9 |
| `components.reana_server.environment.REANA_RATELIMIT_GUEST_USER` | Set API limiter config for guest users. Users using reana-client will be treated as guests. | "20 per second" |
| `components.reana_server.environment.REANA_RATELIMIT_AUTHENTICATED_USER` | Set API limiter config for authenticated web UI users. | "20 per second" |
| `components.reana_server.environment.REANA_RATELIMIT_GUEST_USER` | Set API limiter config for guest users. Users using reana-client will be treated as guests. | "40 per second" |
| `components.reana_server.environment.REANA_RATELIMIT_AUTHENTICATED_USER` | Set API limiter config for authenticated web UI users. | "40 per second" |
| `components.reana_server.environment.REANA_RATELIMIT_SLOW` | Set API limiter config for slow endpoints that need to be protected e.g. launch endpoint. | "1/5 second" |
| `components.reana_server.image` | [REANA-Server image](https://hub.docker.com/r/reanahub/reana-server) to use | `docker.io/reanahub/reana-server:<chart-release-version>` |
| `components.reana_server.imagePullPolicy` | REANA-Server image pull policy | IfNotPresent |
Expand Down
4 changes: 2 additions & 2 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ components:
REANA_USER_EMAIL_CONFIRMATION: true
REANA_WORKFLOW_SCHEDULING_POLICY: "fifo"
REANA_WORKFLOW_SCHEDULING_READINESS_CHECK_LEVEL: 9
REANA_RATELIMIT_GUEST_USER: "20 per second"
REANA_RATELIMIT_AUTHENTICATED_USER: "20 per second"
REANA_RATELIMIT_GUEST_USER: "40 per second"
REANA_RATELIMIT_AUTHENTICATED_USER: "40 per second"
REANA_RATELIMIT_SLOW: "1/5 second"
uwsgi:
processes: 6
Expand Down

0 comments on commit fcecb6b

Please sign in to comment.