How do I get a kubernetes cronjob to retry?

8/25/2021

I have cronjob where the pod it starts ends up in ImagePullBackOff and the cronjob never scheduled another pod , though it has to per schedule. Is there a way to force the cron controller to schedule another pod even though the previous one ended in ImagePullBackOff.

I don't want multiple pods running at the same time so use concurrencyPolicy: Forbid , Is there anyway to get CronJob to still schedule another pod ?

-- user2062360
kubernetes
kubernetes-cronjob

0 Answers