WorkerResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for resources used by Airflow workers.
Attributes |
|
---|---|
Name | Description |
cpu |
float
Optional. CPU request and limit for a single Airflow worker replica. |
memory_gb |
float
Optional. Memory (GB) request and limit for a single Airflow worker replica. |
storage_gb |
float
Optional. Storage (GB) request and limit for a single Airflow worker replica. |
min_count |
int
Optional. Minimum number of workers for autoscaling. |
max_count |
int
Optional. Maximum number of workers for autoscaling. |