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
Made multi-scheduler graduated to Beta #38871
Conversation
ecb4bda
to
c75c8d4
Compare
Please remove the code that handles the annotation in this PR. |
@k8s-bot cvm gke e2e test this |
I'm working on the rebase; but it |
cc @davidopp , if any more comments, please let me know :). |
Please remove all the code that handles the annotation for scheduler name, e.g Also make sure the tests are setting scheduler name using the new field you introduced, and not the annotation. (I don't understand how the tests passed without you changing factory.go) |
@davidopp , the annotation was removed as you mentioned, e.g. https://github.com/kubernetes/kubernetes/pull/38871/files#diff-77bdee21550bc698bfa654de11c64324L496 . |
In the PR, the scheduler name was set to default if empty. |
Ah OK, sorry I missed that! I will review the PR in the next couple of days. |
Jenkins kops AWS e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins Cross Build failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins CRI GCE Node e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins GCE Node e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins unit/integration failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins GKE smoke e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins Kubemark GCE e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins GCE etcd3 e2e failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins verification failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Jenkins Bazel Build failed for commit adf672f17dbc0b54fdce64faf1ea1d42278afd12. Full PR test history. cc @k82cn The magic incantation to run this job again is Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@timothysc , the code was re-based. PTAL :). |
We decided to defer e2e tests when this feature went to alpha because we thought we were going to do a "next step" for this feature (an admission controller that would take a high-level policy configuration, and based on that, add the scheduler name annotations to the incoming pods), and I thought the integration test was sufficient until then. Well, we ended up not doing the next step, and I who knows if/when it will ever be done, so I think now is a very good time to do one or more e2e tests. @k82cn do you think you can do it in a follow-up PR? As for back-to-back bindings from different schedulers, which @timothysc mentioned: the kubelet does admission control that checks for sufficient resources etc., so we are relying on that to ensure the node doesn't become overcomitted with respect to request. Unfortunately non-node-local properties aren't checked by the kubelet, but I think the only one that matters right now is non-node TopologyKey for pod anti-affinity (e.g. "don't put this pod in the same zone as any pods that match label selector X"), and we said we were probably going to disable that when it goes to beta in 1.6... |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
// If specified, the pod will be dispatched by specified scheduler. | ||
// If not specified, the pod will be dispatched by default scheduler. | ||
// +optional | ||
SchedulerName string `json:"schedulername,omitempty" protobuf:"bytes,19,opt,name=schedulername"` |
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.
This is wrong - this should have been schedulerName
Please ensure this is fixed pre 1.6.0 - this is a release blocker.
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.
sure, I'll create a PR today :).
This has an incorrect JSON serialization for |
fixes #25318