-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restart job on failure for Always,OnFailure,ExitCode Policy #1605
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yoanisgil The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@yoanisgil we need to apply for other operators as well ? /cc @gaocegege |
Pull Request Test Coverage Report for Build 2464048060
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be added in MPIJob, too
WDYT @zw0610
Thanks for your contribution! 🎉 👍 The PR itself LGTM |
@gaocegege happy to add to MPIJob as well but I'd need some help with instructions on how to test it. |
Can you add a test case as well? @gaocegege Why isn't this applicable to all frameworks? |
Since original PR is ready, shall we close this? |
Yup. |
What this PR does / why we need it:
There can be pod level failures caused by the system, which would previously caused the entire job to fail on all policies except ExitCode. See also #1570
Works together with kubeflow/common#195
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #
#1570
Checklist: