Closed ChanYiLin closed 4 years ago
/assign @gaocegege can you help to review it? Thanks!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: terrytangyuan
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Follow the same fix in tf-operator https://github.com/kubeflow/tf-operator/pull/1111 . If the job has already terminated, we don't need to check activedeadline and backofflimit.
Originally, even the job has terminated it still checks the Activedeadline and appends the event to it. So the event that shows the job failed after it succeeded might happen because it pass Activedeadline, the log of operator will also keep showing the failure massage of passing Activedeadline.