Skip to content
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

[proposal]How to rationally Evict pods so that high-load node utilization reaches a reasonable level #1975

Open
LY-today opened this issue Mar 27, 2024 · 3 comments
Labels
area/koord-descheduler kind/proposal Create a report to help us improve

Comments

@LY-today
Copy link

LY-today commented Mar 27, 2024

What is your proposal:
When descheduler evaluates which pod to expel to reduce the utilization of high-load nodes to a reasonable level, can descheduler perform matching calculations on the actual usage of the pod and the amount of eviction resources in advance?

Why is this needed:
This can reduce the number of times a single node is repeatedly entered into the eviction logical unit, reduce the number of single node eviction instances, and indirectly improve the accuracy of the eviction results and the stability of the business while ensuring that hot issues are solved.

Is there a suggested solution, if so, please add it:
evict pod priority selector:podNowResourceUsages >= nodeNowResourceUsages - nodeHighResourceThresholds * nodeResourceAllocatable

ps:If the community approves the proposal, I can provide PR

@LY-today LY-today added the kind/proposal Create a report to help us improve label Mar 27, 2024
@wzzcocoon
Copy link

This proposal is very good, it solves my problems and troubles.

@mangk
Copy link

mangk commented Mar 28, 2024

This proposal is very good, it solves my problems and troubles.

Fully agree

@eahydra
Copy link
Member

eahydra commented Apr 7, 2024

Yes, it looks good to me. I checked the "evictPodsFromSourceNodes" function in descheduler's plugin LowNodeLoad and found some cases that need to be optimized, including the one you mentioned.
Feel free to contribute. @LY-today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koord-descheduler kind/proposal Create a report to help us improve
Projects
None yet
Development

No branches or pull requests

5 participants