Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Fix the reconcile flow #74

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Fix the reconcile flow #74

merged 1 commit into from
Apr 28, 2020

Conversation

ChanYiLin
Copy link
Member

@ChanYiLin ChanYiLin commented Apr 28, 2020

Follow the same fix in tf-operator kubeflow/training-operator#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.

@kubeflow-bot
Copy link

This change is Reviewable

@ChanYiLin
Copy link
Member Author

/assign @gaocegege
can you help to review it?
Thanks!

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

/assign @terrytangyuan

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

/approve

@k8s-ci-robot
Copy link

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 4535d1d into kubeflow:master Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants