GitHub user potiuk edited a comment on the discussion: How do I reload 
webserver_config.yml without restarting the webserver

You cant. You need to restart the webserver. Note that generally speaking your 
gunicorn servers will restart every now and then (I believe it is configurable 
- look it up in Airflow and gunicorn configuration) and they should generally 
pick up the new configuration if it is done dynamically (`AIRFLOW__*_CMD` 
prefix in variable or via Secrets Backend) - see  
https://airflow.apache.org/docs/apache-airflow/stable/howto/set-config.html. 
Also such gunicorn when restarted will parse `webserver_config.py` (not .yml) 
whenever such gunicorn process restarts. I do not know how you map and read 
your `webserver_config.yml` into `webserver_config.py` of Airlfow (this is done 
somethigng by your deployment) - but if you can have your webserver_config.py 
read and process the .yml file of yours, it should be used anew by every 
restarted gunicorn process.

But how you map it is something done in your deployment because airflow does 
not have a concept of `webserver_config.yml`

GitHub link: 
https://github.com/apache/airflow/discussions/43239#discussioncomment-11015996

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to