-
Notifications
You must be signed in to change notification settings - Fork 712
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
Fix XGBoost conditions bug #1737
Fix XGBoost conditions bug #1737
Conversation
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Pull Request Test Coverage Report for Build 3980353017
💛 - Coveralls |
@terrytangyuan @johnugeorge This bug makes confused users. So I would like to add this patch to the next training-operator release. |
Thanks @tenzen-y |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y, 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 |
Can you restart failed CI? |
Signed-off-by: Yuki Iwai yuki.iwai.tz@gmail.com
What this PR does / why we need it:
Currently, the xgboostjob-controller adds a
Running
condition to thestatus.conditions
field of XGBoostJob when some containers have not been scheduled to Nodes, yet.Although, other controllers (e.g., mxjob-controller and pytorchjob-controller) do not add
Running
condition to thestatus.condition
of CustomJob in that situation.For example, when we deploy XGBoostJob with coscheduling to insufficient resources K8s Cluster, the xgboostjob-controller adds a
Running
condition to XGBoostJob, regardless of Pod's status.P.S. I found this issue in #1736
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: