Comments (6)
Interesting, this works fine for v1.8.4 -
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.4-dirty", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"dirty", BuildDate:"2017-11-25T12:04:44Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.4-dirty", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"dirty", BuildDate:"2017-11-25T11:54:10Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
from descheduler.
So, if I understood correctly,
- any node below the percentages in
nodeResourceUtilizationThresholds.thresholds
is considered underutilized- any node above the percentages in
nodeResourceUtilizationThresholds.targetThresholds
is considered overutilized- any node below the above 2 range is considered appropriately utilized by the descheduler and not taken into consideration
Your understanding is correct.
from descheduler.
thresholds: # any node below the following percentages is considered underutilized
"cpu" : 40
"memory": 40
"pods": 40
targetThresholds: # any node above the following percentages is considered overutilized
"cpu" : 30
"memory": 2
"pods": 1
This is weird/incorrect as the idea is to have targetThresholds >= thresholds.
from descheduler.
This is weird/incorrect as the idea is to have targetThresholds >= thresholds.
@aveshagarwal yep, was just playing around with the policy file.
This did not work for me when I deployed a cluster from Kubernetes master the other day, but when I switched to v1.8.4, the descheduler did evict the pods. Is this expected behavior, which versions does the descheduler support today?
from descheduler.
@containscafeine Are you still facing this issue? If not can you please close this?
from descheduler.
@containscafeine - Closing this as there is no update. Feel free to open, if you are still facing.
from descheduler.
Related Issues (20)
- Should we upgrade go version to 1.21? HOT 1
- Fix code scanning alert - ssh: Prefix truncation attack on Binary Packet Protocol (BPP) HOT 1
- Scraping Metrics from a CronJob HOT 3
- Kustomize template ref=v0.29.0 references to 0.28.1 HOT 1
- Deprecate CronJob deployment approach HOT 2
- Pods strategies don't work HOT 7
- IMDSv2
- Strategy RemovePodsViolatingNodeAffinity does not remove pod when affinity disappears HOT 1
- Single node clusters support HOT 3
- Not installing CRDs HOT 3
- Add option to apply RemovePodsViolatingNodeTaints only for explicitly included taints HOT 2
- Bump Kubernetes dependencies to v0.30.0 alpha HOT 2
- Implement `namespaceSelector` for Pod (anti)affinity when considering NodeFit HOT 1
- Inter-pod anti-affinity check for `NodeFit` should not check if Pods are on the same Node already HOT 1
- Helm chart does not allow "falsey" value in `cmdOptions` HOT 1
- Remove v1alpha1 in v0.31.0 HOT 1
- Is descheduler executed in a loop? HOT 2
- Add exitCode to RemoveFailedPods strategy HOT 1
- Howto test RemovePodsViolatingInterPodAntiAffinity ? HOT 1
- Something is wrong with Helm Chart v0.29.0... HOT 9
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.