apiVersion: batch/v1beta1
kind: CronJob
metadata:
  creationTimestamp: "2020-01-31T17:53:10Z"
  name: my-cron
spec:
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - args:
                - /bin/sh
                - -c
                - date; echo Hello world
              image: busybox
              imagePullPolicy: Always
              name: hello
          dnsPolicy: ClusterFirst
          restartPolicy: OnFailure
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
  schedule: '*/10 * * * *'
