PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
- Companion:
- object
- Source:
- PodFailurePolicyOnExitCodesRequirement.scala
Value members
Concrete methods
if containerName has a value, transforms to the result of function
if containerName has a value, transforms to the result of function
Returns a new data with containerName set to new value
Returns a new data with containerName set to new value