WorkerResourceArgs

data class WorkerResourceArgs(val cpu: Output<Double>? = null, val maxCount: Output<Int>? = null, val memoryGb: Output<Double>? = null, val minCount: Output<Int>? = null, val storageGb: Output<Double>? = null) : ConvertibleToJava<WorkerResourceArgs>

Configuration for resources used by Airflow workers.

Constructors

Link copied to clipboard
fun WorkerResourceArgs(cpu: Output<Double>? = null, maxCount: Output<Int>? = null, memoryGb: Output<Double>? = null, minCount: Output<Int>? = null, storageGb: Output<Double>? = null)

Functions

Link copied to clipboard
open override fun toJava(): WorkerResourceArgs

Properties

Link copied to clipboard
val cpu: Output<Double>? = null

Optional. CPU request and limit for a single Airflow worker replica.

Link copied to clipboard
val maxCount: Output<Int>? = null

Optional. Maximum number of workers for autoscaling.

Link copied to clipboard
val memoryGb: Output<Double>? = null

Optional. Memory (GB) request and limit for a single Airflow worker replica.

Link copied to clipboard
val minCount: Output<Int>? = null

Optional. Minimum number of workers for autoscaling.

Link copied to clipboard
val storageGb: Output<Double>? = null

Optional. Storage (GB) request and limit for a single Airflow worker replica.