PaulW commented on issue #4660: [AIRFLOW-3819] - Allow the configuration of a global default for work… URL: https://github.com/apache/airflow/pull/4660#issuecomment-463284495 Setting this directly from within k8s (in my case through helm) does indeed work, for example: ``` apiVersion: v1 kind: LimitRange metadata: name: worker-pod-limit spec: limits: - default: memory: 1000Mi cpu: 1 defaultRequest: memory: 500Mi cpu: 0.5 type: Container ``` Has this effect within the yaml config for the pod: ``` apiVersion: v1 kind: Pod metadata: annotations: cni.projectcalico.org/podIP: 10.202.6.197/32 kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, memory request for container base; cpu, memory limit for container base' ... resources: limits: cpu: "1" memory: 1000Mi requests: cpu: 500m memory: 500Mi ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
