ecerulm opened a new pull request #16425:
URL: https://github.com/apache/airflow/pull/16425


   Currently it's possible to configure some of the pod resources via the helm 
chart values like for example the scheduler pod main container but it's not 
possible for the `scheduler-log-groomer` container. 
   
   In deployments with `ResourceQuotas` it's desirable to be able to control 
the `limits` of each container specifically to avoid pods reserve way too much 
cpu and memory  and eat up the quota unnecessarily. Even though the current 
helm chart allows to add a `LimitRange` that defines the default `limits` that 
is not enough. 
   
   This introduces the ability to provide a specific resource blocks for 
   
   * `pod_template_file`: for the pods started by the `KubernetesPodOperator` 
itself . ([pod_template_file 
doc](https://airflow.apache.org/docs/apache-airflow/stable/executor/kubernetes.html#pod-template-file))
   * pgbouncer's `metrics-exporter`
   * scheduler's  `scheduler-log-groomer`
   * webserver's initContainer `wait-for-airflow-migrations`
   * worker's `worker-log-groomer`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to