GithubHelp home page GithubHelp logo

sap / node-refiner Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 1.33 MB

Node Refiner is your go-to simple Kubernetes efficiency maximizer.

License: Apache License 2.0

Dockerfile 1.65% Go 98.35%
kubernetes-cluster scale-down kubernetes-controller

node-refiner's People

Contributors

alisoliman avatar ospo-bot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

isabella232

node-refiner's Issues

Pod Affinity, Anti-affinity detection

Is your feature request related to a problem? Please describe.

The current way of handling the minimum number of nodes is by setting a minimum value in the config map that the node refiner operator reads. Sometimes the minimum required nodes are not very obvious, especially when Pod affinity and pod anti-affinity specifications. These specifications might lead to the side effect of having a minimum number of nodes set less than the needed minimum number of nodes the cluster needs to satisfy affinity specifications.

If the utilization is low, the node refiner will try to scale the cluster down and the cluster autoscaler to scale up to satisfy the specifications, leading to a sylo of scaling down and up.

Describe the solution you'd like

Automatically read the affinity and anti-affinity specifications and calculate the minimum number of nodes required by these specs.
Keep the higher number of minimum nodes from the results of the automatically calculated value vs. the pre-set number in the config map.

Describe alternatives you've considered

In practice and when trying the node refiner out, this wasn't an issue that came up, but it came to my attention while working on the project; thus, its presence is an improvement.

This could also mean that other reasons for sylo might come up after implementing this.

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.