[v1beta2] Add ActiveDeadlineSeconds and BackoffLimit #550
Closed
Description
- add ActiveDeadlineSeconds to tfjob.Spec like batch.Job's JobSpec.ActiveDeadlineSeconds, which control the max active time for a job.
- add BackoffLimitt to tfjob.Spec like batch.Job's JobSpec.BackoffLimitt, which control restart limit for a failing job.
- add CleanPolicy to tfjob.Spec for control clean up tfjob's pod after tfjob is done(success/fail), clean up on time is very important for a cloud user.