-
Notifications
You must be signed in to change notification settings - Fork 686
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(controller): calculate satisfied with && instead of || #1120
fix(controller): calculate satisfied with && instead of || #1120
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Hi @GuoHaiqing. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hey @GuoHaiqing, TravisBuddy Request Identifier: f80653a0-261e-11ea-8748-5b98fb6aa2de |
@googlebot I signed it! |
0d981a8
to
2b9ab3d
Compare
Hey @GuoHaiqing, TravisBuddy Request Identifier: 1c08a900-2620-11ea-8748-5b98fb6aa2de |
Hey @GuoHaiqing, TravisBuddy Request Identifier: 6b1245b0-2620-11ea-8748-5b98fb6aa2de |
2b9ab3d
to
45181be
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
/assign @richardsliu |
Hey @GuoHaiqing, TravisBuddy Request Identifier: fd6cb3f0-2620-11ea-8748-5b98fb6aa2de |
Could you please explain more about why it may cause problems? Thanks |
|
Then, the problem is about performance? |
In one reconciliation, controller creates one master and one ps. Then controller observes one master pod creation. At this moment,
|
Gotcha. Reasonable. Let me have a look. |
/lgtm |
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardsliu 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 |
/retest |
@GuoHaiqing Can you rebase your PR? Sorry it has been many months and I forgot about this. |
45181be
to
d7855fd
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
I think there are some new problems introduced by this PR if the controller deletes some pods when the job is succeeded and the cleanpodpolicy is running. The pod is deleted, we will get one observation here WDYT @GuoHaiqing @SimonCqk |
If calculating satisfied with '||', it only guarantee some replicaTypes not all replicaTypes are satisfied. There will be some problems. So it should be changed to '&&'.
This change is