PodFailurePolicyRulePatchArgs

data class PodFailurePolicyRulePatchArgs(val action: Output<String>? = null, val onExitCodes: Output<PodFailurePolicyOnExitCodesRequirementPatchArgs>? = null, val onPodConditions: Output<List<PodFailurePolicyOnPodConditionsPatternPatchArgs>>? = null) : ConvertibleToJava<PodFailurePolicyRulePatchArgs>

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

Constructors

Link copied to clipboard
fun PodFailurePolicyRulePatchArgs(action: Output<String>? = null, onExitCodes: Output<PodFailurePolicyOnExitCodesRequirementPatchArgs>? = null, onPodConditions: Output<List<PodFailurePolicyOnPodConditionsPatternPatchArgs>>? = null)

Functions

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

Properties

Link copied to clipboard
val action: Output<String>? = null

Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:

Link copied to clipboard

Represents the requirement on the container exit codes.

Link copied to clipboard

Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.