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
tfjob(v1alpha2): Add validation #874
Conversation
properties: { | ||
replicas: { | ||
type: "integer", | ||
minimum: 1, |
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.
Please add comment explaining why we set minimum to 1.
Also please add a comment explaining why the validation doesn't extend to the pod template spec.
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.
OK, I will update it.
PTAL |
/retest |
I do not think the failure is caused by this PR 🤔 |
/retest |
Yeah test failures look like flakes building the bootstrapper image. |
/lgtm |
I am not sure when it will be fixed, could I retest the PR now? |
/test all |
@gaocegege The failure is a networking issue downloading kubectl. So in principal retrying immediately should work. |
/retest |
retest |
/retest |
I will rebase the master and have a try again. |
#898 will hopefully fix the flaky test |
@gaocegege Can you sync past #898 to see if that fixed the flakes? |
@jlewi OK, I will do it on Monday 😄 |
Signed-off-by: Ce Gao <gaoce@caicloud.io>
Signed-off-by: Ce Gao <gaoce@caicloud.io>
PTAL @jlewi The test is passed, thanks for your help @ankushagarwal |
/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 |
* tfjob(v1alpha2): Add validation Signed-off-by: Ce Gao <gaoce@caicloud.io> * tf-job-operator: Add comments Signed-off-by: Ce Gao <gaoce@caicloud.io>
* tfjob(v1alpha2): Add validation Signed-off-by: Ce Gao <gaoce@caicloud.io> * tf-job-operator: Add comments Signed-off-by: Ce Gao <gaoce@caicloud.io>
* fix the broken link for config * update the readme
/assign @jlewi
related to: kubeflow/training-operator#437
Signed-off-by: Ce Gao gaoce@caicloud.io
This change is