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 -replacing flag #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

quite4work
Copy link

-replacing flag tells Supercronic to kill the previous job process if it hasn't finished yet, when it's time for a new job iteration to run.

With this flag Supersonic implements three available concurrency policies for Kubernetes CronJob:

  • Allow - -overlapping flag.
  • Forbid - no flag, default behavior of Supercronic.
  • Replace - -replacing flag.

It allows using Supercronic for running crons inside containers when it is too expensive to use CronJob to create pods on every run (e.g. running every minute).

Co-authored-by: tyranron <[email protected]>
@tyranron
Copy link

ping @krallin

1 similar comment
@tyranron
Copy link

ping @krallin

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

Successfully merging this pull request may close these issues.

2 participants