Resources for init container not specified into helpers/_pods.tpl
zippo761 opened this issue · 0 comments
zippo761 commented
Checks
- I have checked for existing issues.
- This report is about the
User-Community Airflow Helm Chart
.
Motivation
In my compary use strong rules into k8s production cluster that resource quota must be specified for every container. So every deploy without resources into init-containers i catch WARNING like this for every pods (that contain init-container/check-db/wait-for-db-migrations/install-pip-packages:
Implementation
Im propose specified resource into template charts/airflow/templates/_helpers/pods.tpl and fill values for template
somethink like this:
.Values.airflow.
# resource for check-db init container
checkDb:
resources: {}
# resource for wait-for-db-migrations container
waitForDbMigrations:
resources: {}
# resource for install-pip-packages container
installPipPackages:
resources: {}
and users after this update use only values for avoid this warning
Are you willing & able to help?
- I am able to submit a PR!
- I can help test the feature!