Class: Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb

Overview

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.

Defined Under Namespace

Classes: SchedulerResource, WebServerResource, WorkerResource

Instance Attribute Summary collapse

Instance Attribute Details

#scheduler::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::SchedulerResource

Returns Optional. Resources used by Airflow schedulers.

Returns:



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1145

class WorkloadsConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for resources used by Airflow schedulers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow scheduler replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Optional. The number of schedulers.
  class SchedulerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow web server.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for Airflow web server.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for Airflow web server.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for Airflow web server.
  class WebServerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow workers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow worker replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] min_count
  #   @return [::Integer]
  #     Optional. Minimum number of workers for autoscaling.
  # @!attribute [rw] max_count
  #   @return [::Integer]
  #     Optional. Maximum number of workers for autoscaling.
  class WorkerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#web_server::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WebServerResource

Returns Optional. Resources used by Airflow web server.

Returns:



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1145

class WorkloadsConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for resources used by Airflow schedulers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow scheduler replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Optional. The number of schedulers.
  class SchedulerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow web server.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for Airflow web server.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for Airflow web server.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for Airflow web server.
  class WebServerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow workers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow worker replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] min_count
  #   @return [::Integer]
  #     Optional. Minimum number of workers for autoscaling.
  # @!attribute [rw] max_count
  #   @return [::Integer]
  #     Optional. Maximum number of workers for autoscaling.
  class WorkerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#worker::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource

Returns Optional. Resources used by Airflow workers.

Returns:



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1145

class WorkloadsConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for resources used by Airflow schedulers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow scheduler replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow scheduler
  #     replica.
  # @!attribute [rw] count
  #   @return [::Integer]
  #     Optional. The number of schedulers.
  class SchedulerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow web server.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for Airflow web server.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for Airflow web server.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for Airflow web server.
  class WebServerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for resources used by Airflow workers.
  # @!attribute [rw] cpu
  #   @return [::Float]
  #     Optional. CPU request and limit for a single Airflow worker replica.
  # @!attribute [rw] memory_gb
  #   @return [::Float]
  #     Optional. Memory (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] storage_gb
  #   @return [::Float]
  #     Optional. Storage (GB) request and limit for a single Airflow worker
  #     replica.
  # @!attribute [rw] min_count
  #   @return [::Integer]
  #     Optional. Minimum number of workers for autoscaling.
  # @!attribute [rw] max_count
  #   @return [::Integer]
  #     Optional. Maximum number of workers for autoscaling.
  class WorkerResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end