Kubernetes job waiting status Kubernetes job waiting status kubernetes kubernetes

Kubernetes job waiting status


Well you can't do that, because a controller or watcher for Job/ cronjob object is always taking care to spawn the desired number of replicas mentioned by you in the specs.

There is one option that you can add to your spec file and configure it in such a way that if that much time against the scheduled time gets passed then the pod won't be created.

You can always add startingDeadlineSeconds in the cronjob spec, now if the schedule is missed or nodes were down then pod won't be spawned here.

For more information you can refer to following link, hope this helps.