Development workloads onlyChanging cluster resource provisioning is only recommended for development clusters and can result in task failures. Astronomer can’t provide support or troubleshoot issues related to overprovisioning Deployments through this configuration.
-
Add the following configuration to your
values.yamlfile. Replace the values foroverProvisioningFactorMemandoverProvisioningFactorCPUwith the factor by which you want to set your resource requests as a percentage of your resource limits.For example, if you setoverProvisioningFactorMem: 0.75andoverProvisioningFactorCPU: 0.5, a scheduler using 1 AU will only request 0.075 CPU and 192.5 MB of memory on a node, allowing you to run more components on that node than before. By default, this configuration applies to all Airflow components. Any components that you remove fromoverProvisioningComponentswill not have overprovisioning applied. -
Save the
values.yamlfile and push the configuration change to your platform. See Apply a config change. After the change is applied, new Deployments automatically use the updated AU definition. - Redeploy code to your existing Deployments to have them start using your updated AU definition. See Deploy code.