Pod Failure Policy Rule Patch
data class PodFailurePolicyRulePatch(val action: String? = null, val onExitCodes: PodFailurePolicyOnExitCodesRequirementPatch? = null, val onPodConditions: List<PodFailurePolicyOnPodConditionsPatternPatch>? = null)
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
constructor(action: String? = null, onExitCodes: PodFailurePolicyOnExitCodesRequirementPatch? = null, onPodConditions: List<PodFailurePolicyOnPodConditionsPatternPatch>? = null)
Properties
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.