CronJob Generator
Generate Kubernetes CronJobs easily using this tool. Simply paste your desired configuration or use the example below as a starting point.
Example CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
name: minutely-job
namespace: default
spec:
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: busybox
args:
- /bin/sh
- -c
- date; echo "hi from $(hostname)"
restartPolicy: OnFailure
Further Reading
Learn more about Kubernetes CronJobs from the official documentation: