Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.11 KB

run.md

File metadata and controls

25 lines (13 loc) · 1.11 KB

Batch Job

Description

A Job resource is similar to a ReplicaSet as it creates one or more Pods and ensures they run successfully. The most close Cloud analogue - Cloud Run Jobs at GCP

.spec.template.spec.restartPolicy - Always is not allowed for a Job, and the only possible options are OnFailure or Never

.spec.completions - Specifies how many Pods should run to complete a Job.

.spec.parallelism - Specifies how many Pod replicas could run in parallel.

References

[1] Parallel Processing using Expansions

[2] Coarse Parallel Processing Using a Work Queue

[3] Fine Parallel Processing Using a Work Queue

[4] Indexed Job for Parallel Processing with Static Work Assignment

[5] Spring Batch on Kubernetes