You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
pytorchjob doesn't provide status.startTime.
mpi and tfjob has function to update status.startTime, but pytorchjob doesn't have.
Is it deprecated? Or just missing?
if jobStatus.StartTime == nil {
now := metav1.Now()
jobStatus.StartTime = &now
// enqueue a sync to check if job past ActiveDeadlineSeconds
if tfJob.Spec.RunPolicy.ActiveDeadlineSeconds != nil {
logger.Infof("Job with ActiveDeadlineSeconds will sync after %d seconds", *tfJob.Spec.RunPolicy.ActiveDeadlineSeconds)
// TODO(Jeffwan): requeue job key in reconciler scenarios
r.WorkQueue.AddAfter(tfJobKey, time.Duration(*tfJob.Spec.RunPolicy.ActiveDeadlineSeconds)*time.Second)
}
}
The text was updated successfully, but these errors were encountered:
Hi,
pytorchjob doesn't provide status.startTime.
mpi and tfjob has function to update status.startTime, but pytorchjob doesn't have.
Is it deprecated? Or just missing?
The text was updated successfully, but these errors were encountered: