A Job is used to run a set of Pods to perform a given task to completion.
Example:
apiVersion: batch/v1
kind: Job
metadata:
name: math-add-job
spec:
completions: 3
parallelism: 2
template:
spec:
containers:
- name: math-add
image: ubuntu
command: [ "expr", "3", "+", "5" ]
restartPolicy: Never