apiVersion: batch/v1
kind: Job
metadata:
  name: countdown
spec:
  template:
    metadata:
      name: countdown
    spec:
      containers:
      - name: counter
        image: centos:7
        imagePullPolicy: IfNotPresent
        command:
         - "bin/bash"
         - "-c"
         - "while true ; do sleep 5 && echo running ; done"
      restartPolicy: Never
