-
Notifications
You must be signed in to change notification settings - Fork 742
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
v1alpha2: Add API and codegen #523
Conversation
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
@gaocegege this PR itself seems good to me. Do you already have tf-operator side changes? |
Signed-off-by: Ce Gao <[email protected]>
@gaocegege ok, then this PR looks good to me :) |
Review status: 0 of 28 files reviewed at latest revision, all discussions resolved. pkg/apis/tensorflow/v1alpha2/types.go, line 71 at r2 (raw file):
Not sure a default of Always really make sense; you wouldn't want to restart the master on success. Could we make the policy required? pkg/apis/tensorflow/v1alpha2/types.go, line 116 at r2 (raw file):
Nit "Represents" -> Conditions pkg/apis/tensorflow/v1alpha2/utils.go, line 25 at r2 (raw file):
Why is this function in v1alpha2? It doesn't look like anything about this function is specific to a given version. Comments from Reviewable |
This is defined in TFJobReplicasSpec and it should works on a single type. And I agree that always is weird and I think I could open an issue for it. After all PRs merged and I will fix it. WDYT |
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Updated, PTAL |
I removed the function and use util package instead. |
Review status: 0 of 27 files reviewed at latest revision, all discussions resolved. pkg/apis/tensorflow/v1alpha2/types.go, line 71 at r2 (raw file): Previously, jlewi (Jeremy Lewi) wrote…
@gaocege commented elsewhere that will resolve this in a follow up issue. Comments from Reviewable |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi 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 |
* types.go: Add APIs Signed-off-by: Ce Gao <[email protected]> * apis: Related code Signed-off-by: Ce Gao <[email protected]> * update-codegen.sh: Update Signed-off-by: Ce Gao <[email protected]> * codegen: Update Signed-off-by: Ce Gao <[email protected]> * linter: Update Signed-off-by: Ce Gao <[email protected]> * types.go: Fix typo Signed-off-by: Ce Gao <[email protected]> * test: Remove Pformat Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao [email protected]
This change is