⎈ k8s knowledge compiler

PodFailurePolicyOnExitCodesRequirement [api_object]ai-synthesized · conf 0.82

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.

batchsecurity

Specifies the exit codes that trigger a failure in a batch job.

Why it matters Allows users to define specific exit codes that indicate a pod has failed, enabling more precise control over batch processing.

Key facts - Extends the PodFailurePolicy type - Used to specify exit codes for pod failure

Common pitfalls - Incorrectly configured exit codes can lead to misclassification of pod failures

Related PodFailurePolicy

Sources

swagger.jsonio.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement

Related (1)

related_to PodFailurePolicyRulereferences type conf=1

← all API Explorer