We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airflow/chart/values.yaml
Lines 2167 to 2180 in 3854264
Since airflow helm chart only supports cleanup cronjob, users have to modify templates to add additional maintenance cronjobs
For example, we can create multiple custom cronjobs using values.yaml below
values.yaml
cronJobs: cleanPods: image: apache/airflow schedule: "*/15 * * * *" command: ~ args: ["bash", "-c", "exec airflow kubernetes cleanup-pods --namespace={{ .Release.Namespace }}"] ... cleanDB: image: apache/airflow schedule: "30 3 1 * *" command: ~ args: ["bash", "-c", "exec airflow db clean"] ... backupDB: image: CUSTOM_IMAGE schedule: "0 1 1 * *" command: ~ args: ["bash", "-c", "pg_dump -h HOST -U USER_NAME -Fc DATABASE_NAME | aws s3 cp - s3://<bucket_name>/<database_name>.dump"] ...
By providing custom cronjobs, we can flexibly respond to additional maintenance tasks as needed.
No response
The text was updated successfully, but these errors were encountered:
Feel free to raise a PR to add this feature.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
airflow/chart/values.yaml
Lines 2167 to 2180 in 3854264
Since airflow helm chart only supports cleanup cronjob, users have to modify templates to add additional maintenance cronjobs
Use case/motivation
For example, we can create multiple custom cronjobs using
values.yaml
belowBy providing custom cronjobs, we can flexibly respond to additional maintenance tasks as needed.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: