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

set concurrency policy for cronjobs to forbid #991

Closed
imilchev opened this issue Jan 5, 2024 · 0 comments · Fixed by #995
Closed

set concurrency policy for cronjobs to forbid #991

imilchev opened this issue Jan 5, 2024 · 0 comments · Fixed by #995
Labels
bug Something isn't working p0 Priority 0

Comments

@imilchev
Copy link
Member

imilchev commented Jan 5, 2024

When Cronjobs are crashing we don't want to keep creating new jobs every hour. We should set the concurrency policy to forbid to prevent that from happening https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#concurrency-policy

Forbid: The CronJob does not allow concurrent runs; if it is time for a new job run and the previous job run hasn't finished yet, the CronJob skips the new job run

@imilchev imilchev added bug Something isn't working p0 Priority 0 labels Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0 Priority 0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant