kubernetes-sigs / kube-scheduler-wasm-extension

All the things to make the scheduler extendable with wasm.
Apache License 2.0
83 stars 16 forks source link

Support `framework.Handle` #73

Open sanposhiho opened 6 months ago

sanposhiho commented 6 months ago

The scheduler exports framework.Handle to the plugins so that they can operate something on the framework side.

https://github.com/kubernetes/kubernetes/blob/add482a2d31db938f3dca87920313db9d1780cf5/pkg/scheduler/framework/interface.go#L601

Some functions don't need to be implemented though, we should support the common ones at least:

sanposhiho commented 5 months ago

SnapshotSharedLister might not be needed if https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/issues/71 is complited, so lower priority for now.

Gekko0114 commented 5 months ago

I will work on EventRecorder

sanposhiho commented 5 months ago

/assign @Gekko0114

Gekko0114 commented 3 months ago

@sanposhiho I would like to work on another one, do you have any recommendation? (which item has higher priority?)

sanposhiho commented 3 months ago

I would say RunFilterPluginsWithNominatedPods is the one.

Gekko0114 commented 3 months ago

Thanks, then I will work on RunFilterPluginsWithNominatedPods next

Gekko0114 commented 3 months ago

Since RunFilterPlugins is complicated, I will work on RejectWaitingPod instead