SuccessPolicyRule [api_object]ai-synthesized · conf 0.82
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
batchsecurity
A Success Policy Rule is used to specify the success policy for a pod in a batch job.
Why it matters It allows you to define how your application should be considered successful, such as after a certain number of retries or when all pods are running.
Key facts - Defined in io.k8s.api.batch.v1.SuccessPolicyRule - Used to specify success 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.SuccessPolicyRule”