Comments (8)
The CPU and Mem percentages reported in the logs are most definitely wrong. The one that kubectl top
shows is the correct one.
from descheduler.
@ptagr Thanks for reporting this. I am looking into this. meanwhile could you send "kubectl describe node" for the node gke-asia-northeast1-std--default-pool-36ae422e-32s4?
from descheduler.
"I0508 07:06:40.392782 1 lownodeutilization.go:69] No node is underutilized, nothing to do here, you might tune your thersholds further"
@ptagr the reason, the descheduler did not evict any pod as it did not find any nodes that are under utilized. You should increase your "nodeResourceUtilizationThresholds: thresholds:" to some higher values.
from descheduler.
@aveshagarwal I get it but the descheduler is getting the wrong values for the current CPU and Mem utilization. I have multiple sources that report about 1% CPU usage for the nodes and from the logs, the descheduler says its 46% utilized.
Stark difference between what is reported in the logs vs reported by kubectl top
lownodeutilization.go:144] Node "gke-asia-northeast1-std--default-pool-36ae422e-32s4" is over utilized with usage: api.ResourceThresholds{"cpu":45.972309628697296, "memory":55.872961663211015, "pods":7.2727272727272725}
vs
gke-asia-northeast1-std--default-pool-36ae422e-32s4 199m 1% 12555Mi 12%
from descheduler.
I think I got it completely wrong. CPU Usage is not the actual usage but the (CPU Request) Usage and the same for memory! Let me look over it again.
from descheduler.
@ptagr Descheduler like scheduler does its computation based on resource requests not actual utlization on any node.
from descheduler.
this makes sense. the describe yields:
(Total limits may be over 100 percent, i.e., overcommitted.)
CPU Requests CPU Limits Memory Requests Memory Limits
------------ ---------- --------------- -------------
6305m (39%) 6200m (39%) 41200Mi (42%) 41310Mi (42%)```
got confused in my head
from descheduler.
Closing this issue.
from descheduler.
Related Issues (20)
- Default deschedulerPolicy in helm chart causes crashloop HOT 3
- Add a new extension point EvictPlugin to descheduling framework HOT 1
- unknown phase feature HOT 3
- Latest version does not work with helm chart anymore HOT 1
- `failed to convert Descheduler minor version to float` on start HOT 5
- `unknown field nodeAffinityType` error with v0.30.0 HOT 8
- KEP-1421: Make individual NodeFit predicates configurable
- Unable to create a profile err="profile \"test\" configures deschedule extension point of non-existing plugins: map[RemovePodsViolatingTopologySpreadConstraint:{}]" HOT 4
- otel: conflicting Schema URL HOT 4
- Enable Service in Descheduler without ClusterIP as None - Helm Chart HOT 3
- Unable to create a profile" err="unable to build DefaultEvictor plugin HOT 2
- The descheduler supports limiting the total number of pods evicted per rescheduling cycle HOT 3
- Invalid Helm template in v0.30.1 HOT 7
- "Pod fits on node" that has lower utilization than current node HOT 1
- There is no plugin for podAffinity violations HOT 4
- Allow pods to self-identify as being unable to deschedule
- Publish helm chart also as an OCI package (e.g. on GHCR registry)
- Prometheus Scraping with Secure Port HOT 3
- Migrate all e2es to run descheduler as an image HOT 13
- Possibility of selecting nodes that descheduler analysis with Helm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from descheduler.