-
Notifications
You must be signed in to change notification settings - Fork 684
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
feat: support TargetLoadPacking strategy #1087
base: master
Are you sure you want to change the base?
feat: support TargetLoadPacking strategy #1087
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
e3e72e5
to
2a3c7b7
Compare
Hey @binacs, thanks for the contrib! We want to avoid adding custom plugins like that one here in the main repo. We plan to do the same approach as the kube-scheduler and have a separate repo to host all the out-of-tree plugins that we may add in the future. If you wouldn't mind waiting for when we are ready to create that other repo, we could review and merge this one there. |
@knelasevero Sounds great! We can review and merge in that repo, and please let me know if there is anything I can do to help. |
Hey! I raised an issue that will serve as a place for us to discuss all this: |
What is the difference with this PR(#1092), is the effect the same? |
@AllenZMC IMHO: They both aim to reschedule based on real-time utilization, but the principles are different.
|
2a3c7b7
to
f234922
Compare
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/test-infra repository. |
hi, Is there any progress of this pr? |
@wang-xiaowu The community has not yet decided on how to organize and maintain the new plugins, so this MR cannot be merged yet. |
i see, this is an exciting function, hope it can be integrated into the descheduler as soon as possible |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
I think we should not only consider the upper limit value->targetUtilization, but also have a lower limit value->lowUtilization. If there are no nodes in the cluster below the lowUtilization threshold or if the number of nodes below this threshold is too small, eviction operations should not be performed. This logic is similar to the nodeutilization plugin, which essentially changes the way node usage is calculated, while other logics can be reused. |
Does it support excluding namespaces for pod eviction from Descheduler while using TargetLoadPacking plugin ? |
@binacs @fanhaouu @wang-xiaowu would either of you be interested in writing a proposal for the out-of-tree plugins? We are still restricted by time. I have one proposal in progress. Though I can help to guide you in the right direction. We need someone who will put all the discussions and use cases for it into a single place. Starting with a google doc and slowly extending it as we go and resume the discussions. Any takers? |
@fanhaouu make sense for me |
@rajgani yes of course. we will follow the |
I am happy to do this. Within 9 days, I will first complete a draft document, then I will share it for everyone to freely comment on. |
hi @ingvagabund , I'm interested in how to dealing with out-of-tree plugins (not only load aware plugin). I will formulate a proposal soon. |
Mark, I'll start writing the KEP now.✌️ |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
@binacs: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
In line with the load aware scheduling plugin
trimaran/targetloadpacking
, we can support TargetLoadPacking strategy in the descheduler to perform evictions based on real node utilization.This is a beginner version that works, and I look forward to everyone's review comments to make it better!
Hope it helps to solve the issue #225.
I'll be working on migrating
trimaran/loadvariationriskbalancing
shortly.