Skip to content

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).

@quite4work quite4work requested a review from krallin as a code owner October 8, 2021 09:21
Co-authored-by: tyranron <tyranron@gmail.com>
@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