DevOps · Flashcard

Which concurrencyPolicy removes older Workflows before scheduling a new one?

  • AReplace — remove all old runs before the new one is scheduled
  • BForbid — do not allow any new run while an old one is going
  • CAllow — let the scheduled runs proceed alongside each other
  • DSuspend — hold the schedule until an operator releases it again

Why this is the answer

Replace removes all old before scheduling new, which suits a job where only the freshest result matters. Forbid also prevents overlap but by skipping the new run rather than killing the old one — a meaningful difference when the running job is nearly done. Allow is the default and permits overlap outright. Suspend is not a policy value at all; it is a separate boolean field on the CronWorkflow.

Official docs
Study in Gnoseed →