Kubernetes: Launch Job from CronJob template
1 min readMay 28, 2020
If you have a CronJob (which may be suspended):
$ kubectl get cronjob
NAME SCHEDULE SUSPEND ACTIVE LAST SCHEDULE AGE
archive-orders 0 0 * * 0 True 0 <none> 5d4h
You can launch a job templated after the CronJob:
kubectl create job archive-orders-manual --from=cronjob/archive-orders