apiVersion: batch/v1
kind: Job
metadata:
 name: multi-batch-job
spec:
 completions: 5
 parallelism: 2
 template:
  metadata:
    labels:
      app: batch-job
  spec:
    restartPolicy: OnFailure
    containers:
    - name: main
      image: luksa/batch-job