Skip to content
Discussion options

You must be logged in to vote

Yes, that matches what I found.

This is not an airflow.cfg setting. RATELIMIT_STORAGE_URI belongs in webserver_config.py, for example:

RATELIMIT_STORAGE_URI = "redis://redis_host:6379/0"

For the Helm chart, the usual hook is to provide a custom webserver_config.py via webserver.webserverConfig / webserver.webserverConfigConfigMapName. For Airflow 3 API server setups, there is also an apiServer.apiServerConfig equivalent.

So the production path is:

  1. use Redis or Valkey as shared rate-limit storage
  2. set RATELIMIT_STORAGE_URI in webserver_config.py
  3. mount that file through the Helm chart values

The docs could definitely make this clearer for Airflow users.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@starkmarkus
Comment options

Comment options

You must be logged in to vote
2 replies
@starkmarkus
Comment options

Answer selected by static-moonlight
@static-moonlight
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants