5f92be2f07
The current logrotate logic deletes logs that are more than X days old in the Airflow log path, however the Airflow log archive may still reach 100% usage and cause the airflow-worker to crashloop. This PS adds logic to logrotate.sh to delete the oldest logs and empty dirs when the Airflow log archive reaches the max usage specified in values.yaml. Change-Id: I3dcb80901d7dd36da6812850a1f54e7ebf3b1cf2 |
||
---|---|---|
.. | ||
airflow_logrotate.sh | ||
airflow_start_service.sh | ||
entrypoint.sh | ||
upgrade_airflow_worker.sh |