-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support GetWaitingPod
#121
base: main
Are you sure you want to change the base?
Support GetWaitingPod
#121
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chansuke The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0a95a76
to
56a7a11
Compare
4480280
to
29db872
Compare
a1117c5
to
6851e39
Compare
searching Test_guestPool_bindingCycles error |
PR needs rebase. 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-sigs/prow repository. |
/cc @utam0k @Gekko0114 |
@@ -20,5 +20,11 @@ package handle | |||
|
|||
import "sigs.k8s.io/kube-scheduler-wasm-extension/guest/internal/mem" | |||
|
|||
//go:wasmimport k8s.io/scheduler handle.get_waiting_pod |
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.
//go:wasmimport k8s.io/scheduler handle.get_waiting_pod | |
//go:wasmimport k8s.io/scheduler handle.allow_waiting_pod |
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.
Actually, I don't see the implementation of allow_waiting_pod
in the host side.
Do you want to keep the scope of this PR as only getWaitingPod? Or do you want to include that in the PR too? Either is fine to me.
@@ -96,39 +95,31 @@ func initKlog(t *testing.T, buf *bytes.Buffer) { | |||
klog.SetOutput(buf) | |||
} | |||
|
|||
func Test_k8sHandleEventRecorderEventFn(t *testing.T) { |
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.
why is this test removed?
What type of PR is this?
Adding
GetWaitingPod
offramework.Handle
What this PR does / why we need it:
Which issue(s) this PR fixes:
Partof #73
Special notes for your reviewer:
Does this PR introduce a user-facing change?
What are the benchmark results of this change?