apiVersion: batch/v1
kind: Job
metadata:
  name: sleep
spec:
  template:
    spec:
      containers:
      - name: sleep
        image: busybox
        command: 
          - "/bin/sleep"
          - "30"
      restartPolicy: OnFailure