podReplacementPolicy

@JvmName(name = "tlwjybhnuxmpjodv")
suspend fun podReplacementPolicy(value: Output<String>)
@JvmName(name = "dostfpwmurecuabv")
suspend fun podReplacementPolicy(value: String?)

Parameters

value

podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed.

  • Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.