apiVersion: batch/v1
kind: CronJob
metadata:
name: hello-world
spec:
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: busybox
image: busybox
command: ["echo", "Hello world!"]
restartPolicy: Never