podFailurePolicy

@JvmName(name = "iaeenproxlvjpuhq")
suspend fun podFailurePolicy(value: Output<PodFailurePolicyArgs>)
@JvmName(name = "mmcctcmgiolluiax")
suspend fun podFailurePolicy(value: PodFailurePolicyArgs?)

Parameters

value

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is alpha-level. To use this field, you must enable the JobPodFailurePolicy feature gate (disabled by default).


@JvmName(name = "mtqgwjiuaxgynolu")
suspend fun podFailurePolicy(argument: suspend PodFailurePolicyArgsBuilder.() -> Unit)

Parameters

argument

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is alpha-level. To use this field, you must enable the JobPodFailurePolicy feature gate (disabled by default).