Git Product home page Git Product logo

kube-better-node's Introduction

kube-better-node

This small program doest the only thing kubernetes-sigs/descheduler can't do. It will evict Pods to better nodes, based on preferredDuringSchedulingIgnoredDuringExecution nodeAffinity terms.

Why?

There're at least two rotten unmerged PRs in the Descheduler repository:

  • #130 (FindBetterPreferredNode and CalcPodPriorityScore are inspired by it. Thanks @tsu1980)
  • #129

In fact, this functionallity will be never implemented in Descheduler.

As @asnkh said in #211:

...unless descheduler can make the same decision as kube-scheduler, it can cause this kind of ineffective pod evictions. I have no good idea to overcome this difficulty. Copying all scheduling policies in kube-scheduler to descheduler is not realistic.

Use case

However, there're real world use-cases, where such dumb eviction can be usefull.

For exmaple, when a project is small and there's a need to use some special Spot instance node type (such as Tesla p2.xlarge). When this instance is taken back from you by AWS, but your project can afford some performance degradation for a short period of time (untill there's a new node of p2.xlarge given), kube-scheduler will place it on some other node available at the moment. But when finally new Tesla node will join the cluster, there's nothing to schedule your project's Pod back to it.

Here kube-better-node can be usefull.

Installation

helm repo add decayofmind https://decayofmind.github.io/charts/
helm install kube-better-node decayofmind/kube-better-node

Links

kube-better-node's People

Contributors

decayofmind avatar thedrhax avatar

Watchers

 avatar

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.