-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Allow framework plugins to be closed #118147
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/scheduling
Categorizes an issue or PR as relevant to SIG Scheduling.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Comments
codefromthecrypt
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
May 20, 2023
k8s-ci-robot
added
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
labels
May 20, 2023
/sig scheduling |
k8s-ci-robot
added
sig/scheduling
Categorizes an issue or PR as relevant to SIG Scheduling.
and removed
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
labels
May 20, 2023
/assign |
@codefromthecrypt do you have any examples for this? |
@kerthcet yep. The wasm runtime wazero internally has a compilation code cache which includes mmapped modules. https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/pull/6/files#diff-1bdb059cf97778a163c3746f2f5a0d27cf6f1d114652a534db91b810173624bcR132-R138 |
9 tasks
/unassign |
/triage accepted |
k8s-ci-robot
added
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
and removed
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
labels
Dec 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/scheduling
Categorizes an issue or PR as relevant to SIG Scheduling.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What would you like to be added?
I would like
framework.Plugin
implementations, specifically scheduler plugins to be when the scheduler is being stopped. It could implement this by a type assertion onio.Closer
, so that old schedulers don't have to implement it.Why is this needed?
For example, wasm plugins internally use mapped memory and it would be good to cleanly unmap them.
Without this we could use finalizers, but doing that has problems including some overhead.
The text was updated successfully, but these errors were encountered: