WorkloadsConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.\ .-airflow-..* and newer.
Attributes
Name | Description |
scheduler |
google.cloud.orchestration.airflow.service_v1beta1.types.WorkloadsConfig.SchedulerResource
Optional. Resources used by Airflow schedulers. |
web_server |
google.cloud.orchestration.airflow.service_v1beta1.types.WorkloadsConfig.WebServerResource
Optional. Resources used by Airflow web server. |
worker |
google.cloud.orchestration.airflow.service_v1beta1.types.WorkloadsConfig.WorkerResource
Optional. Resources used by Airflow workers. |
Classes
SchedulerResource
SchedulerResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for resources used by Airflow schedulers. .. attribute:: cpu
Optional. CPU request and limit for a single Airflow scheduler replica.
:type: float
WebServerResource
WebServerResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for resources used by Airflow web server. .. attribute:: cpu
Optional. CPU request and limit for Airflow web server.
:type: float
WorkerResource
WorkerResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for resources used by Airflow workers. .. attribute:: cpu
Optional. CPU request and limit for a single Airflow worker replica.
:type: float