Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Configuring platform resources
By default, Astronomer needs around 10 CPUs and 44Gi of memory:| Pod | Request CPU | Request Mem | Limit CPU | Limit Mem | Storage |
|---|---|---|---|---|---|
astro-ui | 100m | 256Mi | 500m | 1024Mi | NA |
houston | 250m | 512Mi | 800m | 1024Mi | NA |
prisma | 250m | 512Mi | 500m | 1024Mi | NA |
commander | 250m | 512Mi | 500m | 1024Mi | NA |
registry | 250m | 512Mi | 500m | 1024Mi | 100Gi |
install | 100m | 256Mi | 500m | 1024Mi | NA |
nginx | 500m | 1024Mi | 1 | 2048Mi | NA |
grafana | 250m | 512Mi | 500m | 1024Mi | NA |
prometheus | 1000m | 4Gi | 1000m | 4Gi | 100Gi |
elasticsearch client replica-1 | 1 | 2Gi | 2 | 4Gi | NA |
elasticsearch client replica-2 | 1 | 2Gi | 2 | 4Gi | NA |
elasticsearch data replica-1 | 1 | 2Gi | 2 | 4Gi | 100Gi |
elasticsearch data replica-2 | 1 | 2Gi | 2 | 4Gi | 100Gi |
elasticsearch master replica-1 | 1 | 2Gi | 2 | 4Gi | 20Gi |
elasticsearch master replica-2 | 1 | 2Gi | 2 | 4Gi | 20Gi |
elasticsearch master replica-3 | 1 | 2Gi | 2 | 4Gi | 20Gi |
kibana | 250m | 512Mi | 500m | 1024Mi | NA |
fluentd | 250m | 512Mi | 500m | 1024Mi | NA |
kubeState | 250m | 512Mi | 500m | 1024Mi | NA |
| Total | 10.7 | 23.5Gi | 21.3 | 44Gi | 460Gi |
Changing values
You can change the request and limit of any of the components above in yourvalues.yaml configuration file.
To change something like the resources allocated to astro-ui, add the following fields to your values.yaml:
helm upgrade to switch your platform to the new config:
Configuring Deployment resources
Most of the key components that you will need to run Airflow can be controlled via the sliders in our UI. However, you may find that there are some discrepancies between the number in the UI and what exists in Kubernetes at any given moment. Below is a summary the less-visible resources that get provisioned with each Airflow deployment you create on Astronomer. All of these resources will exist within the namespace created for your Airflow deployment.These are resources that are provisioned in addition to the scheduler, webserver, and worker resources that you’ve set in your Software UI. If you’re running the Kubernetes executor or Kubernetes Pod Operator, resources will be created dynamically, but will not exceed the resource quota you’ve dictated by your
Extra Capacityslider.| Component | Description | AU | CPU/Memory |
|---|---|---|---|
| Resource Quotas | The resource quota on the namespace will be double the AU (cpu/mem) provisioned for that namespace. Note that this has little to do with what actually gets consumed, but it’s necessary because, in certain cases, restarting Airflow requires two webservers and schedulers to exist simultaneously for a brief second while the new environment gets spun up. Without the 2x quota cap, the restart of these services would fail. Additionally, note that any amount added by the extra capacity slider will increase this quota by that same amount. | N/A | N/A |
| PgBouncer | All Airflow deployments ship with a PgBouncer pod to handle pooling connections to the metadata database. | 2 AU | 200cpu/768mb |
| StatsD | All Airflow deployments ship with a StatsD pod to handle metrics exports. | 2 AU | 200cpu/768mb |
| Redis | All Airflow deployments running the celery executor ship with a Redis pod as a backend queueing system for the workers. | 2 AU | 200cpu/768mb |
| Flower | All Airflow deployments running the celery executor ship with a Flower pod as a frontend interface for monitoring celery workers. | 2 AU | 200cpu/768mb |
| PgBouncer Metrics Exporter Sidecar | This component reads data from the PgBouncer internal stats database and exposes them to Prometheus. This data powers the database related graphs on our UI and Grafana. | 1 AU | 100cpu/384mb |
scheduler Log Trimmer Sidecar (scheduler-gc) | The scheduler emits logs that are not useful to send to Elasticsearch. Those files are written locally in the pod, so we deploy a trimmer to ensure that the pod does not overflow its ephemeral storage limits. | 1 AU | 100cpu/384mb |