Class WorkerResource (1.3.1)

WorkerResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for resources used by Airflow workers.

Attributes

NameDescription
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.

Inheritance

builtins.object > proto.message.Message > WorkerResource