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

Nodes resource mismatch #1234

Closed
shubha21m opened this issue Aug 29, 2023 · 4 comments
Closed

Nodes resource mismatch #1234

shubha21m opened this issue Aug 29, 2023 · 4 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@shubha21m
Copy link

shubha21m commented Aug 29, 2023

I have install descheduler on my cluster. kubectl top node command gives different output than descheduler.
Descheduler shows All nodes are underutilized. but when used kubectl top node command, its show many off nodes are on 100% utilization.

How to fix this bug. Please guide me.

@shubha21m shubha21m added the kind/bug Categorizes issue or PR as related to a bug. label Aug 29, 2023
@a7i
Copy link
Contributor

a7i commented Aug 29, 2023

/kind support

@19bcs2405 Per README:

LowNodeUtilization Spreads pods according to pods resource requests and node resources available

HighNodeUtilization Spreads pods according to pods resource requests and node resources available

As the description suggests, these strategies do not consider actual utilization but rather resource allocation (poor naming). kubectl top looks at actual resource utilization.

There are a few open PRs that look at utilization such as:
#1092
#1087

Given that they behave correctly, I am going to close this issue but feel free to reopen if you think there is a bug.

@a7i a7i closed this as completed Aug 29, 2023
@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Aug 29, 2023
@a7i
Copy link
Contributor

a7i commented Aug 29, 2023

/remove-kind bug

@k8s-ci-robot k8s-ci-robot removed the kind/bug Categorizes issue or PR as related to a bug. label Aug 29, 2023
@shubha21m
Copy link
Author

@a7i Is there any way to descheduler get exact Resources like kubectl top node.

@a7i
Copy link
Contributor

a7i commented Aug 29, 2023

Not currently, but that's what these PRs do (as new Plugins):
#1092
#1087

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants