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
Convert launcher job and statefulset worker to pod #203
Conversation
@terrytangyuan Could you please take a look? I move the previous patch to v1. |
PTAL |
@carmark There's already a yaml file in https://github.com/kubeflow/mpi-operator/blob/2b68b44e90fb90f6433329b5a57deb59d67bfcff/deploy/mpi-operator-v1.yaml |
/lgtm |
Also CI build failed: https://travis-ci.org/github/kubeflow/mpi-operator/builds/678854834 |
Thanks @terrytangyuan, I will update the unit test. |
Could you also remove the duplicated manifest? |
sure, will do it. |
dc16460
to
7353055
Compare
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: 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 |
/hold |
@carmark Build is still failing. Could you take another look? https://travis-ci.org/github/kubeflow/mpi-operator/pull_requests |
@terrytangyuan thanks, could you please review it again? I fixed the conflict and unit test issues. |
/lgtm |
switch worker[i].Status.Phase { | ||
case corev1.PodFailed: | ||
mpiJob.Status.ReplicaStatuses[common.ReplicaType(kubeflow.MPIReplicaTypeWorker)].Failed += 1 | ||
if worker[i].Status.Reason == "Evicted" { |
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.
what if it failed for a different reason?
fix #201
need to make sure whether we need:
This change is