I have a cronjob which run once every midnight, however one day I deployed wrong version of it and consequently the pod it made went failed soon.
So.. the problem is when I delete the failed pod the cronjob immediately recreates it. How can I stop it? Well anyhow its image is already broken so however it recreates new pod again and again it'd go fail.
my question is "How can I delete failed pod created by cronjob?"
P.S. I'm using rancher but I'm not sure my problem is related to it.