Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Warning about using concurrencyPolicy in cronjobs #128

Open
krol3 opened this issue Oct 31, 2021 · 0 comments
Open

Warning about using concurrencyPolicy in cronjobs #128

krol3 opened this issue Oct 31, 2021 · 0 comments

Comments

@krol3
Copy link

krol3 commented Oct 31, 2021

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/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant