kind: Job
apiVersion: batch/v1
metadata:
  name: countdown
spec:
  # completions like replicas
  #completions: 1
  #completions: 2
  completions: 4
  #parallelism: 1
  parallelism: 2
  template:
    metadata:
      name: countdown
    spec:
      containers:
      - name: counter
        image: alpine
        command:
         - "bin/sh"
         - "-c"
         - "for i in 9 8 7 6 5 4 3 2 1 ; do echo $i ; done"
      restartPolicy: Never
