Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#scheduler
def scheduler() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource) — Optional. Resources used by Airflow schedulers.
#scheduler=
def scheduler=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource
Parameter
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource) — Optional. Resources used by Airflow schedulers.
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource) — Optional. Resources used by Airflow schedulers.
#web_server
def web_server() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource) — Optional. Resources used by Airflow web server.
#web_server=
def web_server=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource
Parameter
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource) — Optional. Resources used by Airflow web server.
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource) — Optional. Resources used by Airflow web server.
#worker
def worker() -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource) — Optional. Resources used by Airflow workers.
#worker=
def worker=(value) -> ::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource
Parameter
- value (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource) — Optional. Resources used by Airflow workers.
Returns
- (::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource) — Optional. Resources used by Airflow workers.