appshield icon indicating copy to clipboard operation
appshield copied to clipboard

Warning about using concurrencyPolicy in cronjobs

Open krol3 opened this issue 3 years ago • 0 comments

The cronjob could be set with concurrencyPolicy: Allow, so when the job fails, the next job doesn't replace the previous job. This could cause resource starvation in the cluster.

It will be nice to have a warning about this, verify concurrencyPolicy is always set to either “Forbid” or “Replace”.

Kubernetes doc: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

krol3 avatar Oct 31 '21 12:10 krol3