kubedl-io/kubedl

[feature request] periodically run jobs by expanding cronPolicy in job specification

Closed this issue · 1 comments

What would you like to be added:

extend job api and introduce cronPolicy to setup cron schedule, trigger running jobs periodically, for example:

spec:
  runPolicy:
    cronPolicy:
      schedule: "0 * * * *"
      concurrentPolicy: Allow
  tfReplicaSpecs:
    Worker:
      ...

Why is this needed:

LGTM