1apiVersion: batch/v1beta1 2kind: CronJob 3metadata: 4 namespace: emojivoto 5 name: hello 6spec: 7 schedule: "*/10 * * * *" 8 jobTemplate: 9 spec: 10 template: 11 spec: 12 containers: 13 - name: hello 14 image: busybox 15 args: 16 - /bin/sh 17 - -c 18 - date; echo Hello from the Kubernetes cluster 19 restartPolicy: OnFailure