How to use it
- 1Paste your crontab or drop a file onto the input panel.
- 2Adjust the options — the result updates as you type.
- 3Copy the Kubernetes CronJob or download it. Drop several files to convert a batch into one ZIP.
What the manifest sets
schedule is your cron expression unchanged — Kubernetes uses standard five-field syntax. concurrencyPolicy: Forbid stops a slow run from overlapping the next one, the usual expectation for jobs that used to run under cron. restartPolicy: OnFailure retries a failed run.
The command is run with /bin/sh -c in the image you name. A script that lived on the old server has to be baked into an image, or mounted from a ConfigMap, before the CronJob can run it.
Questions
How do I set a time zone?
Add spec.timeZone (for example "Europe/Berlin") to the CronJob — supported since Kubernetes 1.27. Without it the schedule is evaluated in the controller's time zone, normally UTC.
Guides that use this tool
· 5 min read
From Docker Compose to Kubernetes: what translates and what you must redesign
Moving Docker Compose to Kubernetes: Deployments and Services, depends_on, volumes, secrets, health checks, cron jobs — and the parts that need a redesign.