Closed Jeffwan closed 4 years ago
/assign @terrytangyuan
[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
@Jeffwan We also need to update the import statement in xgboost-operator
@terrytangyuan What's the statement? Do you need me to help update common there?
@Jeffwan Never mind. It looks like there is no public interface change yet so I am only updating the version of common in https://github.com/kubeflow/xgboost-operator/pull/47.
@Jeffwan Never mind. It looks like there is no public interface change yet so I am only updating the version of common in kubeflow/xgboost-operator#47.
Leave you comment on the PR.
Currently, pods/services implementation mixed with jobController together under
common
folder, this is a little messy.The reason we want to have separate folder (package name) for it are
PodControlInterface is folked from controller_util.go and we also implement similar codes for service. They are logically separate. For long term, once https://github.com/kubernetes/client-go/issues/332 is merged, we could remove the folder entirely.
Since
PodControlInterface
andServiceControlInterface
are internal code base for common project, there's no need for users to import them at all.Trying to make some changes inside
control
to solve #48. It would be better to file this PR first and make changes against new folder, that would be easier for review. Otherwise, it's a new file.