Open
Description
Apache Airflow version
2.6.0
What happened
I tried to view a 400MB dag log file in the web server UI.
The available RAM on the Kubernetes pod is 50MB.
The Airflow webserver crashed.
What you think should happen instead
Either
- The log file should be truncated and an error shown that there's not enough RAM, or
- The log file should not be fully realized into RAM and should be streamed to frontend instead
How to reproduce
- create airflow on k8s with 50Mi requested pod sizes
- make a dag that generates 400 megabyte log files
- attempt to view the log file in the airflow UI
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
apache-airflow==2.6.0
apache-airflow-providers-cncf-kubernetes==6.1.0
apache-airflow-providers-oracle==3.0.0
apache-airflow-providers-slack==7.2.0
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct