apiVersion: batch/v1 kind: CronJob metadata: name: report-minute namespace: batch-demo spec: schedule: "*/1 * * * *" timeZone: "Etc/UTC" concurrencyPolicy: Forbid startingDeadlineSeconds: 120 successfulJobsHistoryLimit: 1 failedJobsHistoryLimit: 1 jobTemplate: spec: template: spec: restartPolicy: OnFailure containers: - name: report image: busybox:1.36 command: - /bin/sh - -c - date -u; echo report finished