Coder Social home page Coder Social logo

Comments (6)

concaf avatar concaf commented on June 20, 2024

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.

aveshagarwal avatar aveshagarwal commented on June 20, 2024

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.

aveshagarwal avatar aveshagarwal commented on June 20, 2024
         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.

concaf avatar concaf commented on June 20, 2024

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.

ravisantoshgudimetla avatar ravisantoshgudimetla commented on June 20, 2024

@containscafeine Are you still facing this issue? If not can you please close this?

from descheduler.

ravisantoshgudimetla avatar ravisantoshgudimetla commented on June 20, 2024

@containscafeine - Closing this as there is no update. Feel free to open, if you are still facing.

from descheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.