apiVersion: batch/v1
kind: Job
metadata:
  name: fail
spec:
  template:
    spec:
      containers:
        - name: fail
          image: busybox
          command: ["foo"] # to fail
      restartPolicy: Never
  backoffLimit: 2
