Closed SimonCqk closed 5 years ago
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).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!
) and we'll verify it.
ℹ️ Googlers: Go here for more info.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: To fully approve this pull request, please assign additional approvers. We suggest the following additional approver: terrytangyuan
If they are not already assigned, you can assign the PR to them by writing /assign @terrytangyuan
in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here
could you give a concrete example on which part of the current reconcilePod cannot apply
Instead of fixing each function by function(See #30 ), shouldn't the restructuring be done more systematically?
@richardsliu
Instead of fixing each function by function(See #30 ), shouldn't the restructuring be done more systematically?
@richardsliu
Do agree, there may other cases to be ensured.
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.
ℹ️ Googlers: Go here for more info.
@SimonCqk What is the plan for this PR? Are we creating a util class as mentioned in https://github.com/kubeflow/common/pull/30?
@richardsliu It seems this PR can be closed.
For now
createNewPod
is a private method and used inReconcilePods
, but for customized operators, the pod reconciliation is slightly different that we may asked to maintain and update other status, so we have to override the originalReconcilePods
in common lib, thencreateNewPod
can not be reused, so I propose to make this method public.This change is