JobTemplateArgs

data class JobTemplateArgs(val labels: Output<Map<String, String>>? = null, val parallelism: Output<Int>? = null, val taskCount: Output<Int>? = null, val template: Output<JobTemplateTemplateArgs>) : ConvertibleToJava<JobTemplateArgs>

Constructors

Link copied to clipboard
fun JobTemplateArgs(labels: Output<Map<String, String>>? = null, parallelism: Output<Int>? = null, taskCount: Output<Int>? = null, template: Output<JobTemplateTemplateArgs>)

Functions

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

Properties

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

KRM-style labels for the resource.

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

Specifies the maximum desired number of tasks the execution should run at given time. Must be <= taskCount. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.

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

Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

Link copied to clipboard

Describes the task(s) that will be created when executing an execution Structure is documented below.