Closed sanposhiho closed 1 year ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sanposhiho
The full list of commands accepted by this bot can be found here.
The pull request process is described here
After spending good days in NZ, my capacity is coming back here. Will address the comment from Adrian and open it then.
OK, it's ready. @kerthcet Can you please take a look when have time.
Minor comment
apiVersion: kubescheduler.config.k8s.io/v1
kind: KubeSchedulerConfiguration
profiles:
- plugins:
multipoint:
enabled:
- name: wasmplugin1
- name: wasmplugin2
pluginConfig:
- name: wasmplugin1
args:
guestPath: "/path/to/wasm-plugin1"
- name: wasmplugin2
args:
guestPath: "/path/to/wasm-plugin2"
guestPath should have extension .wasm?
Minor comment: It might be better to have a test case that verifies correct execution by passing multiple wasm files.
Overall, it looks very good :) I have left several minor comments
@Gekko0114 fixed or replied. PTAL again.
LGTM!
/lgtm
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR changes the entry point to read the scheduler configuration before it initializes the scheduler (app.NewSchedulerCommand) and allows us to have multiple wasm plugins.
Which issue(s) this PR fixes:
Fixes #23
Special notes for your reviewer:
Does this PR introduce a user-facing change?
What are the benchmark results of this change?