-
Notifications
You must be signed in to change notification settings - Fork 669
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
Descheduler | LowNodeUtilization Strategy - all nodes over utilized, no obvious message stating pods cannot be evicted #500
Comments
@martinwoods It's supposed to log |
@lixiang233 thanks for the reply Yes you're right the message
And I have seen this message before raising this issue and I'll explain why I raised this even though this message does exist Lets take my example yaml:
As per the functionality there are two types of thresholds, the first is From looking at the log the message As you can see from the below log the message is preceeded by the settings for underutilization:
And the second threshold
As per the github documentation here: "There is another configurable threshold, targetThresholds, that is used to compute those potential nodes from where pods could be evicted. Is my understanding correct? If it is, again I don't think it's clear from the log data that the nodes which are overutilized don't have the cabability to evict pods to elsewhere Look forward to your reply Many thanks |
Perhaps the documentation could be more explicit about the fact that overutilized nodes only evict toward underutilized nodes. If that distinction is clear, I think the logs tell you everything you need to know |
@martinwoods In this strategy, nodes are devided into 3 types: @damemi +1 for mention this in documentation and I noticed that current logs can be optimized, I'll help to fix this. |
Is your feature request related to a problem? Please describe.
It's not obvious from looking at the log data from the container that there are no nodes available to evict pods to
We have the example log data where a number of nodes show "is over utilized with usage" but because all nodes are over utilized NO pods are evicted
No pods being evicted is fine - looking at the cluster it makes sense, but initially it was NOT so clear.
Would it be wise to add some log data to the logging that this is what is happening here?
Describe the solution you'd like
As suggest by @damemi (discussed on kubernetes slack channel #sig-scheduling) we could add the example text "All nodes overutilized, no evictions possible".
We might even be able to optimize the strategy for unnecessary work with that check too
Describe alternatives you've considered
N/A
What version of descheduler are you using?
descheduler version: 0.19.0
Additional context
As discussed here on slack - https://kubernetes.slack.com/archives/C09TP78DV/p1613593842089500
The text was updated successfully, but these errors were encountered: