Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a check for cronjobs with a concurrencyPolicy of Allow #95

Closed
timoreimann opened this issue Oct 7, 2020 · 2 comments
Closed

Add a check for cronjobs with a concurrencyPolicy of Allow #95

timoreimann opened this issue Oct 7, 2020 · 2 comments

Comments

@timoreimann
Copy link

A cronjob configured with a concurrencyPolicy of Allow has the potential for overloading a cluster if a cronjob-managed pod cannot manage to finish in time. The impact we are occasionally seeing is that job-pods created from subsequent cron intervals pile up over time, sometimes leading to hundreds or thousands of pods that stay pending.

We should implement a check that triggers a warning for Allow cronjobs and suggests to use one of the safer alternative modes Forbid or Replace.

@jasimmons
Copy link
Contributor

Hey @timoreimann, I'm going to pick this up! 😄

@varshavaradarajan
Copy link
Collaborator

fixed by #97

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

No branches or pull requests

3 participants