-
Notifications
You must be signed in to change notification settings - Fork 994
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
migrate queue/podgroup to v1alpha2 #364
Conversation
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: f68a0d10-aa0d-11e9-91b1-f106ceecf692 |
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: 677d02d0-aa12-11e9-91b1-f106ceecf692 |
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: 46562ca0-aaa1-11e9-91b1-f106ceecf692 |
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: 5e345570-aaa3-11e9-91b1-f106ceecf692 |
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: bb5aa7a0-aad4-11e9-bd4a-b1db5eb8f7db |
Hey @hzxuzhonghu, TravisCI finished with status TravisBuddy Request Identifier: f0522380-aadd-11e9-bd4a-b1db5eb8f7db |
Hey @hzxuzhonghu, TravisCI finished with status TravisBuddy Request Identifier: 65d0ff70-aae1-11e9-bd4a-b1db5eb8f7db |
/cc @k82cn |
/cc @k82cn @TommyLike ptal, and we can do some enhancements following with v1alpha2. |
I will rebase if everything is ok. |
pkg/admission/admit_job.go
Outdated
@@ -151,8 +151,11 @@ func validateJob(job v1alpha1.Job, reviewResponse *v1beta1.AdmissionResponse) st | |||
} | |||
|
|||
// Check whether Queue already present or not | |||
// TODO: deprecate v1alpha1 | |||
if _, err := KubeBatchClientSet.SchedulingV1alpha1().Queues().Get(job.Spec.Queue, metav1.GetOptions{}); err != nil { |
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.
Try v2 first.
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
looks good to me, please rebase it. |
Travis tests have failedHey @hzxuzhonghu, TravisBuddy Request Identifier: 62ecf500-ae94-11e9-bf46-bb10ab8761c4 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu, k82cn 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 |
need another fix. |
/lgtm |
fixes: #357