PodFailurePolicyRule [api_object]ai-synthesized · conf 0.82
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.
batchsecurity
A Pod Failure Policy Rule is used to specify the failure policy for a pod in a batch job.
Why it matters It allows you to define how your application should behave when a pod fails, such as whether it should be retried or terminated.
Key facts - Defined in io.k8s.api.batch.v1.PodFailurePolicyRule - Used to specify failure policy for pods in batch jobs
Common pitfalls - Incorrectly configured policies can lead to job failures or unexpected behavior
Sources
swagger.json — “io.k8s.api.batch.v1.PodFailurePolicyRule”